1
0
mirror of synced 2025-01-20 07:21:40 +03:00
This commit is contained in:
zYne 2007-04-17 17:36:55 +00:00
parent 7a9a86a5c6
commit 10f96e01e3

View File

@ -551,6 +551,9 @@ class Doctrine_Export extends Doctrine_Connection_Module
} }
} }
if ($field['type'] === 'boolean') {
$fields['default'] = $this->conn->convertBooleans($field['default']);
}
$default = ' DEFAULT ' . $this->conn->quote($field['default'], $field['type']); $default = ' DEFAULT ' . $this->conn->quote($field['default'], $field['type']);
} }
return $default; return $default;