Correct error in migration to add aggregate unique index for entry and judge on score_sheets
This commit is contained in:
parent
62dcdf77e2
commit
e7330378b2
|
|
@ -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']);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue