Skip to content
Permalink
Browse files

Add additional test for Sqlite/Postgres datetimes

  • Loading branch information...
markstory committed Dec 8, 2016
1 parent f5a4c3b commit 5cd5edc41dd2049c9842078f160cbc8e8ef4c85b
@@ -760,6 +760,11 @@ public static function columnSqlProvider()
['type' => 'datetime'],
'"created" TIMESTAMP'
],
[
'open_date',
['type' => 'datetime', 'null' => false, 'default' => '2016-12-07 23:04:00'],
'"open_date" TIMESTAMP NOT NULL DEFAULT \'2016-12-07 23:04:00\''
],
// Date & Time
[
'start_date',
@@ -566,6 +566,11 @@ public static function columnSqlProvider()
['type' => 'datetime'],
'"created" DATETIME'
],
[
'open_date',
['type' => 'datetime', 'null' => false, 'default' => '2016-12-07 23:04:00'],
'"open_date" DATETIME NOT NULL DEFAULT "2016-12-07 23:04:00"'
],
// Date & Time
[
'start_date',

0 comments on commit 5cd5edc

Please sign in to comment.
You can’t perform that action at this time.