#22281 closed Bug (fixed)

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

Reported by: SmileyChris 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 18 months ago by Chris Beaven <smileychris@…>

  • Resolution set to fixed
  • Status changed from new to closed

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