Skip to content

Commit 495ff23

Browse files
committed
remove constraints
1 parent 6bf914f commit 495ff23

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

database/migrations/2025_06_03_201058_create_palettes_table.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@ public function up(): void
3030

3131
$table->index('id');
3232
$table->index([self::PHOTO_ID]);
33-
$table->foreign('colour_1')->references('id')->on('colours');
34-
$table->foreign('colour_2')->references('id')->on('colours');
35-
$table->foreign('colour_3')->references('id')->on('colours');
36-
$table->foreign('colour_4')->references('id')->on('colours');
37-
$table->foreign('colour_5')->references('id')->on('colours');
3833
});
3934
}
4035

0 commit comments

Comments
 (0)