Skip to content

Commit 6bf914f

Browse files
committed
fix colour domain
1 parent f9bd1a7 commit 6bf914f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

database/migrations/2025_06_03_201052_create_colours_table.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ public function up(): void
1818
{
1919
Schema::create('colours', function (Blueprint $table) {
2020
$table->unsignedMediumInteger('id')->primary();
21-
$table->tinyInteger('R')->default(0);
22-
$table->tinyInteger('G')->default(0);
23-
$table->tinyInteger('B')->default(0);
21+
$table->unsignedTinyInteger('R')->default(0);
22+
$table->unsignedTinyInteger('G')->default(0);
23+
$table->unsignedTinyInteger('B')->default(0);
2424
$table->unique(['R', 'G', 'B']); // Ensure that the combination of R, G, and B is unique
2525
});
2626
}

0 commit comments

Comments
 (0)