Correct error in migration to add aggregate unique index for entry and judge on score_sheets

This commit is contained in:
Matt Young 2024-06-07 18:09:46 -05:00
parent 62dcdf77e2
commit e7330378b2
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ return new class extends Migration
public function up(): void
{
Schema::table('score_sheets', function (Blueprint $table) {
$table->unique('user_id','entry_id');
$table->unique(['user_id','entry_id']);
});
}