diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Components/AlterOperation.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Components/AlterOperation.php b/src/Components/AlterOperation.php index b9e64d2..e3893f7 100644 --- a/src/Components/AlterOperation.php +++ b/src/Components/AlterOperation.php @@ -294,7 +294,7 @@ class AlterOperation extends Component * @param string $tokenValue Value of current token */ private static function checkIfColumnDefinitionKeyword($tokenValue) { - $common_options = array('AUTO_INCREMENT', 'COMMENT'); + $common_options = array('AUTO_INCREMENT', 'COMMENT', 'DEFAULT'); // Since AUTO_INCREMENT and COMMENT can be used for // both table as well as a specific column in the table return in_array($tokenValue, $common_options); |