Warning
This project is still very new, and although I'm making great headway, there's no stable release just yet. Feel free to follow my progress though, or ask questions if you're interested. Just know it's not production ready just yet.
A declarative database schema migration tool. You describe the schema you want, and NSchema computes and applies the migration to get there — think Terraform for your database schema.
dotnet tool install --global nschemaThis installs the nschema command.
nschema init # scaffold a project (config + sample schema)
nschema plan # preview the migration
nschema apply # apply itFull documentation lives at nschema.dev:
- Quickstart — from empty directory to applied schema
- CLI reference — every command, flag, and exit code
- DDL language — how to declare schemas
- Configuration — providers, backends, and environment variables
See LICENSE.
