Generate a database-native schema for the given Schema object
public createSchema ( CakeSchema $schema, string $tableName = null ) : string | ||
$schema | CakeSchema | An instance of a subclass of CakeSchema |
$tableName | string | Optional. If specified only the table name given will be generated. Otherwise, all tables defined in the schema are generated. |
Результат | string |