Skip to content

Commit

Permalink
set 0000-00-00 00:00:00 to expires default instead of CURRENT_TIMESTAMP
Browse files Browse the repository at this point in the history
  • Loading branch information
tksmrkm committed Jan 4, 2018
1 parent 6b7c767 commit 939da87
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function change()
'null' => false,
]);
$table->addColumn('expires', 'timestamp', [
'default' => 'CURRENT_TIMESTAMP',
'default' => '0000-00-00 00:00:00',
'null' => false,
]);

Expand Down

0 comments on commit 939da87

Please sign in to comment.