/** * Generates a string representation of a schema. * * @param array $tableInfo Table schema array * @return string fields definitions */ protected function _generateSchema($tableInfo) { $schema = trim($this->_Schema->generateTable('f', $tableInfo), "\n"); return substr($schema, 13, -1); }
/** * Generates a string representation of a schema. * * @param array $tableInfo Table schema array * @return string fields definitions */ protected function _generateSchema($tableInfo) { $schema = $this->_Schema->generateTable('f', $tableInfo); return substr($schema, 10, -2); }