Skip to content
This repository was archived by the owner on Feb 23, 2021. It is now read-only.

Commit 4eb2e54

Browse files
committed
Fix timestamp field
1 parent 0838f21 commit 4eb2e54

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/2015_06_25_142416_create_announcements_table.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ public function up()
1616
Schema::create('announcements', function (Blueprint $table) {
1717
$table->increments('id');
1818
$table->string('title', 100);
19-
$table->timestamp('start_time');
20-
$table->timestamp('end_time');
19+
$table->timestamp('start_time')->nullable();
20+
$table->timestamp('end_time')->nullable();
2121
$table->text('message');
2222
$table->timestamps();
2323
});

0 commit comments

Comments
 (0)