Skip to content

nschema-org/NSchema

Repository files navigation

NSchema

NSchema

NSchema

NSchema is a declarative database schema migration tool. Write the schema you want in plain SQL, point NSchema at your database, and it will compute and apply the migration to get there.

It borrows the same plan, apply pattern from Terraform, and includes a lot of similar features like backend state, database providers, and saved plan files.

Full documentation and provider support is available at nschema.dev.

Installation

dotnet tool install --global nschema

This installs the nschema command.

Quickstart

nschema scaffold  # scaffold a project (config + sample schema)
nschema init      # restore the pinned database/state plugins
nschema plan      # preview the migration
nschema apply     # apply it

Documentation

Full documentation lives at nschema.dev:

License

See LICENSE.

About

A declarative database schema migration tool. Describe the schema you want; NSchema computes and applies the migration to get there.

Topics

Resources

Stars

Watchers

Forks

Releases

Used by

Contributors

Languages