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 @@ -293,7 +293,11 @@ public function testShowCreateTableWithEmptyDatetimeDefault() {
293
293
$ this ->assertQuery (
294
294
"CREATE TABLE _tmp_table (
295
295
ID BIGINT PRIMARY KEY AUTO_INCREMENT NOT NULL,
296
- created_at datetime NOT NULL
296
+ timestamp1 datetime NOT NULL,
297
+ timestamp2 date NOT NULL,
298
+ timestamp3 time NOT NULL,
299
+ timestamp4 timestamp NOT NULL,
300
+ timestamp5 year NOT NULL
297
301
); "
298
302
);
299
303
@@ -305,7 +309,11 @@ public function testShowCreateTableWithEmptyDatetimeDefault() {
305
309
$ this ->assertEquals (
306
310
"CREATE TABLE _tmp_table (
307
311
`ID` bigint PRIMARY KEY AUTO_INCREMENT NOT NULL,
308
- `created_at` datetime NOT NULL
312
+ `timestamp1` datetime NOT NULL,
313
+ `timestamp2` date NOT NULL,
314
+ `timestamp3` time NOT NULL,
315
+ `timestamp4` timestamp NOT NULL,
316
+ `timestamp5` year NOT NULL
309
317
); " ,
310
318
$ results [0 ]->{'Create Table ' }
311
319
);
You can’t perform that action at this time.
0 commit comments