Repository navigation
fix: drop the drizzle migrate service from docker compose - #2176
Merged
Merged
Conversation
The admin app owns the database schema (graasp/graasp-web#305); point local setup at `mise run migrate` instead of the frozen migrate-v2.2.2 image.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary
Last drizzle leftover from graasp/graasp-web#305: the local compose file still shipped a
migrateservice on the frozen drizzle image, which knows nothing about migrations written in admin.Evidence
docker compose run migrateapplied drizzle migrations up to v2.2.2, so the database it produced was missing every schema change made in admin since then.After: the service is gone.
docker compose -f docker/compose.yml config -qpasses, and nothing else in the repo referenced it.Schema check for #305: a fresh database migrated only by admin v0.15.0 matches the 2026-11-12 prod dump (
pg_dump --schema-onlydiff). The only differences are the drizzle history schema (prod only),oban_count_estimate()(Oban Met creates it at runtime), themember_password.member_idNOT NULL that prod got today, and two expressions that mean the same thing but are written differently.Merge Danger
Door: two-way
Blast Radius: local-dev
Only the local docker compose setup changes. Anyone still running
docker compose run migratenow has to usemise run migrate. Deploy and CI are unaffected.