public function hasSchema() { try { $metadata = new Metadata($this->adapter); $metadata->getTable($this->tableName); return true; } catch (\Exception $exception) { return false; } }