Update migration

pull/4834/head
Daniel Supernault 2023-12-20 23:17:27 -07:00
rodzic dd16189fc8
commit ae1db1e3ab
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 23740873EE6F76A1
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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');
});
}