- Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
datastoreRequires changes in the datastore layerRequires changes in the datastore layer
Description
Describe the bug
Currently, the default for go-migrate is to pull db migrations directly from Github (main branch) and run them (including with the autoMigrate flag). This means that you could potentially have a mismatch between the migrations being run and the server code if it is not up to date.
Expected behavior
Only the migrations up to the current version of source (whether built locally or pre-built) should run. This might mean packaging the migrations along with the binary.
Metadata
Metadata
Assignees
Labels
datastoreRequires changes in the datastore layerRequires changes in the datastore layer