mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 08:14:51 +00:00
Update migration
This commit is contained in:
parent
dd16189fc8
commit
ae1db1e3ab
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ return new class extends Migration
|
||||||
Schema::create('user_domain_blocks', function (Blueprint $table) {
|
Schema::create('user_domain_blocks', function (Blueprint $table) {
|
||||||
$table->id();
|
$table->id();
|
||||||
$table->unsignedBigInteger('profile_id')->index();
|
$table->unsignedBigInteger('profile_id')->index();
|
||||||
$table->string('domain');
|
$table->string('domain')->index();
|
||||||
$table->unique(['profile_id', 'domain'], 'user_domain_blocks_by_id');
|
$table->unique(['profile_id', 'domain'], 'user_domain_blocks_by_id');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue