Documentation
¶
Overview ¶
Command migrations is a minimal example of using the `quarkmigrate` package to wire a plan/verify/apply CLI workflow for a Quark-managed schema. Adapt this to your project by replacing the models in `myModels()` and the DSN in `loadDSN()`.
go run ./examples/migrations plan # show what would change go run ./examples/migrations verify # exit 1 if drift (CI gate) go run ./examples/migrations apply # actually run the plan
Click to show internal directories.
Click to hide internal directories.