protected function _get_version() { $row = $this->db->select('version')->get($this->_migration_table)->row(); return $row ? $row->version : '0'; }
/** * Retrieves current schema version * * @return int Current Migration */ function get_version() { return parent::_get_version(); }