We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb3f8ea commit 1a84480Copy full SHA for 1a84480
database/migrations/2025_09_28_131354_create_metrics_table.php
@@ -16,9 +16,9 @@ public function up(): void
16
$table->string('name')->index();
17
$table->string('category')->nullable()->index();
18
$table->nullableMorphs('measurable');
19
- $table->unsignedInteger('year');
20
- $table->unsignedInteger('month');
21
- $table->unsignedInteger('day');
+ $table->unsignedSmallInteger('year');
+ $table->unsignedTinyInteger('month');
+ $table->unsignedTinyInteger('day');
22
$table->unsignedInteger('value');
23
$table->timestamps();
24
0 commit comments