diff --git a/src/db/Column.php b/src/db/Column.php index 3b5cb04..d020960 100644 --- a/src/db/Column.php +++ b/src/db/Column.php @@ -160,7 +160,7 @@ public static function unsignedInteger($name) public static function timestamp($name) { - return self::make($name, AdapterInterface::PHINX_TYPE_TIMESTAMP); + return self::make($name, AdapterInterface::PHINX_TYPE_TIMESTAMP, ['null' => true, 'default' => null]); } public static function uuid($name)