@@ 163-166 (lines=4) @@ | ||
160 | : '/^\d{3}_(\w+)$/'; |
|
161 | ||
162 | // Make sure a valid migration numbering type was set. |
|
163 | if ( ! in_array($this->_migration_type, array('sequential', 'timestamp'))) |
|
164 | { |
|
165 | show_error('An invalid migration numbering type was specified: '.$this->_migration_type); |
|
166 | } |
|
167 | ||
168 | // If the migrations table is missing, make it |
|
169 | if ( ! $this->db->table_exists($this->_migration_table)) |
@@ 161-164 (lines=4) @@ | ||
158 | : '/^\d{3}_(\w+)$/'; |
|
159 | ||
160 | // Make sure a valid migration numbering type was set. |
|
161 | if ( ! in_array($this->_migration_type, array('sequential', 'timestamp'))) |
|
162 | { |
|
163 | show_error('An invalid migration numbering type was specified: '.$this->_migration_type); |
|
164 | } |
|
165 | ||
166 | // If the migrations table is missing, make it |
|
167 | if ( ! $this->db->table_exists($this->_migration_table)) |