snapshots from v6 to v7

migrations/meta/0000_snapshot.json is not of the latest version, please run "drizzle-kit up" why do i have to update my snapshot to version 7? i am already on version 6 when running this nothing changes it just goes up to version 7 drizzle-kit: v0.22.7 drizzle-orm: v0.31.2 i saw this message on releases: šŸ› Fixed drizzle-kit up of snapshots from v6 to v7 it seems like this message is a bug? or am i misinterpreting the bug they fixed?
1 Reply
A Dapper Raccoon
A Dapper Raccoonā€¢7mo ago
This is all just general conjecture conjecture on my part, but I think that all sounds normal. Since Kit is still closed source (and I can't be bothered to diff the builds) it's hard to know exactly what changed, but the only other note on the release is pertaining to PostGIS. If you're not using postgis, or not using it as described in that issue, it makes sense that nothing in your migrations or migration meta would change. That version of Kit's code is written with the expectation that your migrations/meta adheres to the v7 format/standard. It seems reasonable to require you to execute the whole update routine against your files to definitively ensure their v7-compliance just based on version numbers alone, rather than using any sort of logic to test if your migrations/meta rely on any of the functionality which has been patched.
Want results from more Discord servers?
Add your server