default value added to datetime
This commit is contained in:
parent
63f5ad4c0b
commit
91579c853a
@ -639,7 +639,7 @@ class DB2Grammar extends Grammar
|
||||
*/
|
||||
protected function typeDateTime(Fluent $column)
|
||||
{
|
||||
return 'timestamp';
|
||||
return 'timestamp default current_timestamp';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user