fix migrate m2m add、change and remove
dictdiffer.diff is not friendly to check the list. It can only check the difference between the elements of the same index of two lists, but the old_m2m_fields and new_m2m_fields The elements of these two lists are not sorted, and it is easy to compare errors. The function in this submission can sort these two lists according to the through keyword. Now you can add and delete many to many fields
Sorry, he can't directly create many-to-many fields when creating the table model. My mistake
Please, someone take care of this
I use alembic now
---Original--- From: @.> Date: Sat, Sep 23, 2023 12:27 PM To: @.>; Cc: @.@.>; Subject: Re: [tortoise/aerich] fix migrate m2m add、change and remove (PR #288)
Please, someone take care of this
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
just tested this on a local fork and it worked perfectly. can we please get this merged? @long2ice