Skip to content

Commit

Permalink
default value added to datetime
Browse files Browse the repository at this point in the history
  • Loading branch information
paul committed Sep 15, 2016
1 parent 63f5ad4 commit 91579c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Schema/Grammars/DB2Grammar.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ protected function typeDate(Fluent $column)
*/
protected function typeDateTime(Fluent $column)
{
return 'timestamp';
return 'timestamp default current_timestamp';
}

/**
Expand Down

0 comments on commit 91579c8

Please sign in to comment.