createTableStatements method
Returns table creation statements for every model in schema.
Implementation
List<String> createTableStatements(SchemaDocument schema) {
final effectiveSchema = schema.withoutIgnored();
return effectiveSchema.models
.map(
(model) =>
createTableStatementForModel(model, schema: effectiveSchema),
)
.toList(growable: false);
}