Evolve Your Schema
Use committed migrations so schema changes stay reviewable, repeatable, and safe across environments.
Kizaki treats schema evolution as a first-class workflow. The recommended path is always:
- edit your Inspire schema
- generate a committed migration
- review the plan
- apply locally
- deploy
This is how Kizaki keeps schema work fast without turning it into hidden local state. The schema is easy to change, but every real database change still becomes reviewable and repeatable.
Create The Next Migration
kizaki migrate plan --name add_project_statusReview the generated files under migrations/<NNNN_slug>/:
plan.inspiresnapshot.json
The most important file to review is plan.inspire. That is where you confirm that Kizaki understood your intent correctly.
Apply Locally
kizaki migrate applykizaki dev uses committed migrations as the local source of truth. If your schema moves ahead in a schema-affecting way without a committed migration, startup fails closed and tells you what to do next.
That fail-closed behavior is intentional. It prevents local development from quietly drifting into a state that is hard to reproduce or deploy later.
Runtime-Only Changes
Not every Inspire change needs a migration. Policy-only and runtime-only changes can hot-reload without changing the database schema.
The practical rule is:
- if the database shape changes, plan a migration
- if only runtime behavior changes, you usually do not need one
Next Step
When your app is ready, continue with Deploy Your App.