Skip to content

migration path from b54 to post b74#760

Open
krugerk wants to merge 6 commits intobeeminder:masterfrom
krugerk:bugfix/759-crash-when-going-from-54-to-74
Open

migration path from b54 to post b74#760
krugerk wants to merge 6 commits intobeeminder:masterfrom
krugerk:bugfix/759-crash-when-going-from-54-to-74

Conversation

@krugerk
Copy link
Copy Markdown
Contributor

@krugerk krugerk commented Apr 5, 2026

The current App Store version is 6.7 (54). It contains just 'v1' of the Core Data BeeminderModel. Along the way, v2 and v3 were introduced in code and have not yet been released to the store. They have appeared however in dev (local) and TestFlight builds.

This PR restores v1 to how it was for the 6.7 (54) release and lets v2 (and then v3) take on the migration.

proposes to fix: #759

krugerk added 2 commits April 5, 2026 02:31
v2 already contains the migration path - renaming lastModifiedLocal to lastUpdatedLocal
and declaring the new columns dueBy and updatedAt
@krugerk krugerk requested a review from a team as a code owner April 5, 2026 01:06
@krugerk krugerk requested review from theospears and removed request for a team April 5, 2026 01:06
@theospears
Copy link
Copy Markdown
Collaborator

I remember getting this lastUpdatedLocal/lastModifiedLocal stuff to migrate properly being a total nightmare.

krugerk added 4 commits April 6, 2026 05:45
the switch to b54 v1 of the beemindermodel meant that the migration
tests broken since they were still setting properties which
the restored v1 of the db no longer had

with the renamingIdentifier in place, coredata can handle the light migrations itself
@krugerk krugerk changed the title fix migration path from b54 to post b74 migration path from b54 to post b74 Apr 6, 2026
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.

crash from App Store version to TestFlight version

2 participants