mirror of
https://github.com/MrUnknownDE/panel.git
synced 2026-04-11 19:03:46 +02:00
Theoretically fix migration issues for api_key table
This commit is contained in:
@@ -16,7 +16,7 @@ class SetupTableForKeyEncryption extends Migration
|
||||
public function up()
|
||||
{
|
||||
Schema::table('api_keys', function (Blueprint $table) {
|
||||
$table->char('identifier', 16)->unique()->after('user_id');
|
||||
$table->char('identifier', 16)->nullable()->unique()->after('user_id');
|
||||
$table->dropUnique(['token']);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user