We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37f4353 commit 7308b62Copy full SHA for 7308b62
1 file changed
tests/FieldTest.php
@@ -335,6 +335,16 @@ function testFieldOptions(){
335
'null' => true,
336
)
337
), $fields);
338
+
339
+ $fields = $this->get_fields("bar INT NOT NULL DEFAULT -1");
340
+ $this->assertEquals(array(
341
+ array(
342
+ 'name' => "bar",
343
+ 'type' => "INT",
344
+ 'default' => '-1',
345
+ 'null' => false,
346
+ )
347
+ ), $fields);
348
}
349
350
function testVirtualOptions(){
0 commit comments