Skip to content

v1.3.0

Choose a tag to compare

@hicinformatic hicinformatic released this 31 May 16:58
· 25 commits to main since this release
Fix migration 0011 pk swap failing on Django 5.0/5.1 + SQLite

On Django 5.0/5.1, RemoveField on a primary key column implicitly re-injects
an auto id field during the SQLite table rebuild, so the subsequent
RenameField(tmp_uuid → id) fails with "duplicate column name: id". Replace
the RemoveField + RenameField + AlterField database operations with a
SeparateDatabaseAndState wrapping a RunPython that does a single explicit
table reconstruction on SQLite, and standard ALTER TABLE DDL on other
databases (PostgreSQL, MySQL). State operations are unchanged.

Bump pymissive and django-pymissive to 1.3.0.

Tested locally against Django 5.0, 5.1, and 5.2 — 144 passed on each.

Co-authored-by: Cursor <cursoragent@cursor.com>