34 protected $_downgradable =
true;
39 protected $_databasesConfig = array();
44 protected $_tablesConfig = array();
50 protected $_description =
'';
55 abstract function up();
60 abstract function down();
77 return get_class($this);
87 return $this->_description;
97 return (
bool) $this->_downgradable;
107 return $this->_tablesConfig;
117 return $this->_databasesConfig;
127 return substr(get_class($this), 10);
141 $version = $version->getVersion();
143 $version = strtolower($version);
146 return version_compare($version, $current, $operator);
158 if ($file instanceof SplFileInfo) {
159 $file = $file->getPathname();
161 if (!realpath($file) || !is_file($file)) {