File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -294,7 +294,11 @@ public function testShowCreateTableWithEmptyDatetimeDefault() {
294
294
$ this ->assertQuery (
295
295
"CREATE TABLE _tmp_table (
296
296
ID BIGINT PRIMARY KEY AUTO_INCREMENT NOT NULL,
297
- created_at datetime NOT NULL
297
+ timestamp1 datetime NOT NULL,
298
+ timestamp2 date NOT NULL,
299
+ timestamp3 time NOT NULL,
300
+ timestamp4 timestamp NOT NULL,
301
+ timestamp5 year NOT NULL
298
302
); "
299
303
);
300
304
@@ -306,7 +310,11 @@ public function testShowCreateTableWithEmptyDatetimeDefault() {
306
310
$ this ->assertEquals (
307
311
"CREATE TABLE _tmp_table (
308
312
`ID` bigint PRIMARY KEY AUTO_INCREMENT NOT NULL,
309
- `created_at` datetime NOT NULL
313
+ `timestamp1` datetime NOT NULL,
314
+ `timestamp2` date NOT NULL,
315
+ `timestamp3` time NOT NULL,
316
+ `timestamp4` timestamp NOT NULL,
317
+ `timestamp5` year NOT NULL
310
318
); " ,
311
319
$ results [0 ]->{'Create Table ' }
312
320
);
You can’t perform that action at this time.
0 commit comments