Repository navigation
Schema as code: fixes
- Renames of fields whose name starts with a digit (such as
2fa) no longer stop the start when the field has an index. - TypeScript migrations can read view collections, including in an apply that has a rename. Views also keep working when the same file changes the collections they join.
- Removing views that read each other now works in any name order, and so does replacing a view with a new view over another new view.
records()in migrations reads matches in pages instead of loading them all into memory, and it accepts a collection id as well as a name.schema types:- optional file fields accept
nulland""on create, as the API does; - the generated
tsTypelines carry// prettier-ignore, so Prettier keeps them as written; - case-only renames (
title→Title) keep working.
- optional file fields accept
- Docs:
docs/schema.mdLimitations describe the cases that are still refused (with the database unchanged), and how to split them over two starts;- broken links in the design docs are fixed.
The SDK is unchanged (@iglo.tech/iglo.base 1.0.1).
linux-x64 and linux-arm64 executables, and the JSON Schema of the schema file (iglo.schema.json). Verify with: sha256sum -c SHA256SUMS.