Room Migrations At Scale

Keep a Room database upgradable after twenty-plus schema versions — declaring the whole graph of (from,to) edges instead of assuming users only ever hop one version, filling the gaps a generated migration cannot express, and recreating triggers idempotently in the on-open callback. Use when an upgrade from an old build reports no migration path, when a trigger exists on upgraded databases but not on fresh installs (or the reverse), or before shipping a schema change to a long-lived app.

maxrave-dev 1c2a52b 8.8 KB Updated

File contents

maxrave-dev/kotlin-footguns/tree/main/skills/room-migrations-at-scale commit 1c2a52be4c

Frequently asked questions

npx skillmds@latest add maxrave-dev/room-migrations-at-scale