Skip to content

Commit 6f2bb85

Browse files
authored
fix: add nullable (#163) (#165)
1 parent fafaf7d commit 6f2bb85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2023_10_25_171457_add_created_at_to_menu_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
public function up(): void
1313
{
1414
Schema::table('menu', function (Blueprint $table) {
15-
$table->timestamp('created_at');
15+
$table->timestamp('created_at')->nullable();
1616
});
1717
}
1818

0 commit comments

Comments
 (0)