Skip to content

Commit

Permalink
Merge pull request #21 from pulasthibandara/patch-2
Browse files Browse the repository at this point in the history
grammar changed to fix datetime type issue
  • Loading branch information
cooperl22 authored Apr 14, 2017
2 parents eef5a1b + 91579c8 commit 25a281e
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 'datetime';
return 'timestamp default current_timestamp';
}

/**
Expand Down

0 comments on commit 25a281e

Please sign in to comment.