Merge pull request #21 from pulasthibandara/patch-2
grammar changed to fix datetime type issue
This commit is contained in:
commit
25a281e991
@ -639,7 +639,7 @@ class DB2Grammar extends Grammar
|
||||
*/
|
||||
protected function typeDateTime(Fluent $column)
|
||||
{
|
||||
return 'datetime';
|
||||
return 'timestamp default current_timestamp';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user