diff --git a/core/Driver/SQL/MySQL.class.php b/core/Driver/SQL/MySQL.class.php index 9190274..7686ca1 100644 --- a/core/Driver/SQL/MySQL.class.php +++ b/core/Driver/SQL/MySQL.class.php @@ -237,7 +237,7 @@ class MySQL extends SQL { $notNull = $column->notNull() ? " NOT NULL" : ""; if (!is_null($defaultValue) || !$column->notNull()) { - $defaultValue = " DEFAULT " . $this->getValueDefinition($column->getDefaultValue()); + $defaultValue = " DEFAULT " . $this->getValueDefinition($defaultValue); } else { $defaultValue = ""; }