Unable to upgrade migrations if there are ones that do not change state but manipulate data
Hi! I have 0.16.x migrations. At some point, I needed to manipulate the data without changing the db structure, so I just made a copy of the latest migration, assigned new ID in snapshot.json and added my sql code. It worked fine, but when I moved to [email protected] and tried to upgrade the migrations, I got the following errors:
If I delete the one I created (20230214133201) and fix ids in previous and next, then upgrade works as expected. How can I solve this without removing the migration?
0 Replies