diff --git a/lib/Doctrine/Configurable.php b/lib/Doctrine/Configurable.php index 9912b28b2..e693e1a74 100644 --- a/lib/Doctrine/Configurable.php +++ b/lib/Doctrine/Configurable.php @@ -94,8 +94,12 @@ abstract class Doctrine_Configurable } break; case Doctrine::ATTR_CREATE_TABLES: - $attribute = Doctrine::ATTR_EXPORT; - $value = Doctrine::EXPORT_ALL; + $attribute = Doctrine::ATTR_EXPORT; + if ($value) { + $value = Doctrine::EXPORT_ALL; + } else { + $value = Doctrine::EXPORT_NONE; + } break; case Doctrine::ATTR_ACCESSORS: $accessors = array('none','get','set','both');