Opened 3 years ago

Closed 3 years ago

#22281 closed Bug (fixed)

Any migration using the sqlite schema causes the altered table to lose any m2m tables

Reported by: Chris Beaven Owned by: nobody
Component: Migrations Version: master
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: no UI/UX: no

Description

At a cursory glance, it looks like all the actions do _rebuild_table, which doesn't try to recreate new m2m tables at all.

Change History (1)

comment:1 Changed 3 years ago by Chris Beaven <smileychris@…>

Resolution: fixed
Status: newclosed

In b47ef04ea2a3b1a48160253dd0ab906e621cecee:

Fix any sqlite field migration deleting all implicit m2m tables

Fixes #22281

Note: See TracTickets for help on using tickets.
Back to Top