Codegen keeps recreating foreign key
I think this happened after I added
on_delete: delete. It keeps adding this in for every subsequent codegen even though this was previously migrated. Is there possible circular logic?
resource --
Solution:Jump to solution
As it turns out, making multitenancy changes for different resources across multiple commits, instead of all in one go, makes the resource snapshots go a little crazy with attribute changes. I decided to just do all the resource changes in one shot.
1 Reply
Solution
As it turns out, making multitenancy changes for different resources across multiple commits, instead of all in one go, makes the resource snapshots go a little crazy with attribute changes. I decided to just do all the resource changes in one shot.