Skip to content

Commit 5e41e8a

Browse files
committed
Clean expected table creation
1 parent 5ad3b87 commit 5e41e8a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/integration/Db/Dialect/Mysql/CreateTableCest.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,9 @@ public function dbAdapterPdoMysqlCreateTable(IntegrationTester $I)
9696
$expected = <<<SQL
9797
CREATE TABLE `test` (
9898
`id` INT(11) NOT NULL AUTO_INCREMENT,
99-
`numeric_val` FLOAT NOT NULL DEFAULT 21.42 NOT NULL,
100-
`null_int` INT(11) NULL AFTER `numeric_val`,
101-
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP AFTER `null_int`,
99+
`numeric_val` FLOAT NOT NULL DEFAULT 21.42,
100+
`null_int` INT(11) NULL,
101+
`created_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
102102
`updated_at` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
103103
`deleted_at` TIMESTAMP NULL,
104104
PRIMARY KEY (`id`)

0 commit comments

Comments
 (0)