The text of db/schema.jai for a catalog made from migrations with this schema hash, or a
problem such as a column that cannot be a field name. Laid out as the formatter would.
- catalog: the migrated schema.
- hash: its schema hash, written into the file.
schema_source :: (
catalog: Catalog,
hash: string
) -> (source: string, problem: string)
The text of db/schema.jai for a catalog made from migrations with this schema hash, or a
problem such as a column that cannot be a field name. Laid out as the formatter would.
Parameters
- catalog: Catalog
- the migrated schema.
- hash: string
- its schema hash, written into the file.
Returns
- source: string
- problem: string