QueezZ
QueezZ
Explore posts from servers
CDCloudflare Developers
Created by QueezZ on 4/20/2025 in #workers-help
Durable Objects Deployment Error
I expirience some issues in my CD (gh actions) with wrangler deployment of worker with durable objects. First deployment is always ok, but then any further updates fail with error:
Cannot apply new-sqlite-class migration to class 'BattleDurableObject' that is already depended on by existing Durable Objects
Cannot apply new-sqlite-class migration to class 'BattleDurableObject' that is already depended on by existing Durable Objects
i do not remove this migration form my wrangler.toml config. Docs say that for any further code updates of the DO executing wrangler deploy is sufficient. Have anyone faced this issue before? Also i am considering, if there are anything like local state based on which wrangler determines if it should run migrations or not?
1 replies
DTDrizzle Team
Created by QueezZ on 3/7/2025 in #help
How to avoid migrations merge conflicts with multiple team members working in parallel
The current problem is, whem multiple team members work in parallel on the same project, we have to deal with a lot of merge conflicts in journal, snapshots, and migrations when merging prs. current solution that we found is rebase main into feature branch, drop all migraitions so migrations are up to date with main and then generate single migration that includes all changes made on the feature branch. It works, but maybe there is any easier approach to deal with that?
1 replies