diff --git a/src/Column/Sqlite.php b/src/Column/Sqlite.php index a324577..0533a65 100644 --- a/src/Column/Sqlite.php +++ b/src/Column/Sqlite.php @@ -87,7 +87,7 @@ protected function _parseNotNull($data) /** {@inheritdoc} */ protected function _parseDefault($data) { - if ($data['dflt_value'] == 'NULL') { + if ($data['dflt_value'] == 'NULL' || $data['dflt_value'] === null) { $this->_default = null; } elseif (preg_match("/^'(.*)'$/", $data['dflt_value'], $matches)) { // Remove surrounding quotes, unescape quotes