Skip to content

Fix populated database upgrades - #34

Merged
Muukuro merged 3 commits into
mainfrom
codex/fix-upgrade-schema-33
Jul 23, 2026
Merged

Fix populated database upgrades#34
Muukuro merged 3 commits into
mainfrom
codex/fix-upgrade-schema-33

Conversation

@freshwax-codex

@freshwax-codex freshwax-codex Bot commented Jul 23, 2026

Copy link
Copy Markdown

Summary

  • replace production prisma db push with versioned prisma migrate deploy
  • automatically baseline installations created before Prisma migration history was introduced
  • apply the release identity change as a normal migration without --accept-data-loss
  • verify populated v0.0.4, previous-release, and clean-database migration paths in CI
  • make migration simulation a required release-preparation check and document the new operational model

Verification

  • npm run test:schema-upgrade -- v0.0.4
  • npm run test:schema-upgrade -- v0.1.0
  • npm run test:schema-upgrade -- --empty
  • Prisma migration/schema drift check
  • npm run lint
  • npx prisma validate
  • npx prisma generate
  • npm run build
  • git diff --check

Closes #33

@Muukuro
Muukuro merged commit d7df139 into main Jul 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Can't upgrade Freshwax due to Prisma errors

1 participant