Theoretically fix migration issues for api_key table
This commit is contained in:
parent
5f6c153537
commit
d03559080f
2 changed files with 2 additions and 1 deletions
|
@ -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']);
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue