protected function getCurrentSchema() { $schema = []; if (empty($this->tables)) { return $schema; } $collection = ConnectionManager::get($this->connection)->schemaCollection(); foreach ($this->tables as $table) { if (preg_match("/^.*phinxlog\$/", $table) === 1) { continue; } $schema[$table] = $collection->describe($table); } return $schema; }