Skip to content

Commit 3c01515

Browse files
committed
Fixed sqlite migration
1 parent 0ed75d0 commit 3c01515

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/2025_03_03_153716_add_publish_at_to_posts_table.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function up(): void
1717
}
1818

1919
Schema::table('posts', function (Blueprint $table) {
20-
$table->timestamp('publish_at')->nullable()->useCurrent();
20+
$table->timestamp('publish_at')->nullable();
2121
});
2222

2323
// Проставляем publish_at текущим значением created_at

0 commit comments

Comments
 (0)