We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6601ee5 commit 1a17488Copy full SHA for 1a17488
tests/Builder/CreateStatementTest.php
@@ -127,6 +127,17 @@ public function testBuilderTable()
127
$parser = new Parser($query);
128
$this->assertEquals($query, $parser->statements[0]->build());
129
130
+
131
+ /* Assertion 4 */
132
+ $query =
133
+ "CREATE TABLE `aa` (\n" .
134
+ " `id` int(11) NOT NULL,\n" .
135
+ " `rTime` timestamp(3) NOT NULL DEFAULT '0000-00-00 00:00:00.000' ON UPDATE CURRENT_TIMESTAMP(3),\n" .
136
+ " PRIMARY KEY (`id`)\n" .
137
+ ") ENGINE=InnoDB DEFAULT CHARSET=latin1";
138
+ $parser = new Parser($query);
139
+ $this->assertEquals($query, $parser->statements[0]->build());
140
141
}
142
143
public function testBuilderPartitions()
0 commit comments