1
1
mirror of https://github.com/pterodactyl/panel.git synced 2024-11-26 02:52:30 +01:00

Merge branch 'develop' into enhancement/wings-improved-server-loading

This commit is contained in:
Matthew Penner 2020-04-10 16:55:22 -06:00 committed by GitHub
commit a37e30cd49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,8 +23,8 @@ class StoreNodeTokensAsEncryptedValue extends Migration
});
Schema::table('nodes', function (Blueprint $table) {
$table->char('uuid', 36)->after('id')->unique();
$table->char('daemon_token_id', 16)->after('upload_size')->unique();
$table->char('uuid', 36)->after('id');
$table->char('daemon_token_id', 16)->after('upload_size');
$table->renameColumn('daemonSecret', 'daemon_token');
});
@ -45,6 +45,11 @@ class StoreNodeTokensAsEncryptedValue extends Migration
]);
}
});
Schema::table('nodes', function (Blueprint $table) {
$table->unique(['uuid']);
$table->unique(['daemon_token_id']);
});
}
/**