Skip to content

Commit d5de413

Browse files
committed
CreateStatement: The DEFAULT option may be an expression.
1 parent 4a5287e commit d5de413

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/CreateDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class CreateDefinition extends Component
4343

4444
'NOT NULL' => 1,
4545
'NULL' => 1,
46-
'DEFAULT' => array(2, 'var'),
46+
'DEFAULT' => array(2, 'expr'),
4747
'AUTO_INCREMENT' => 3,
4848
'PRIMARY' => 4,
4949
'PRIMARY KEY' => 4,

0 commit comments

Comments
 (0)