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:
commit
a37e30cd49
@ -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']);
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user