diff --git a/database/migrations/2025_11_16_120000_create_guest_notifications_tables.php b/database/migrations/2025_11_16_120000_create_guest_notifications_tables.php index 74f7967..5c29dd9 100644 --- a/database/migrations/2025_11_16_120000_create_guest_notifications_tables.php +++ b/database/migrations/2025_11_16_120000_create_guest_notifications_tables.php @@ -37,7 +37,7 @@ return new class extends Migration $table->timestamp('dismissed_at')->nullable(); $table->timestamps(); - $table->unique(['guest_notification_id', 'guest_identifier']); + $table->unique(['guest_notification_id', 'guest_identifier'], 'guest_notifications_guest_identifier_unique'); $table->index(['guest_identifier', 'status']); }); }