Update migration

This commit is contained in:
Daniel Supernault 2023-12-20 23:17:27 -07:00
parent dd16189fc8
commit ae1db1e3ab
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ return new class extends Migration
Schema::create('user_domain_blocks', function (Blueprint $table) {
$table->id();
$table->unsignedBigInteger('profile_id')->index();
$table->string('domain');
$table->string('domain')->index();
$table->unique(['profile_id', 'domain'], 'user_domain_blocks_by_id');
});
}