The schema migration that wiped offline app storage on update

by•

Shipped a small patch update for our iOS app that included a minor database version bump.

I misconfigured the local SQLite migration script by omitting a fallback clause for existing tables.

When existing users updated the app, it dropped their local tables instead of altering the schema.

Woke up to a flood of reviews from users complaining that all their saved offline drafts had vanished into thin air.

2 views

Add a comment

Replies

Be the first to reply

Have a question or a thought to share? Add a comment above to start the conversation.