Update migration

pull/4834/head
Daniel Supernault 1 year ago
parent dd16189fc8
commit ae1db1e3ab
No known key found for this signature in database
GPG Key ID: 23740873EE6F76A1

@ -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…
Cancel
Save