Re: [Django] #35469: Squashing migrations from unique=True to unique=False to UniqueConstraint produces irreversible migration on Postgres (was: Squashing migrations from unique=True to unique=False to UniqueConstraint produces irreversible migration)

5 views
Skip to first unread message

Django

unread,
May 22, 2024, 5:47:30 AM5/22/24
to django-...@googlegroups.com
#35469: Squashing migrations from unique=True to unique=False to UniqueConstraint
produces irreversible migration on Postgres
-----------------------------+------------------------------------
Reporter: Jacob Walls | Owner: nobody
Type: Bug | Status: new
Component: Migrations | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+------------------------------------
Changes (by Sarah Boyce):

* stage: Unreviewed => Accepted
* summary:
Squashing migrations from unique=True to unique=False to
UniqueConstraint produces irreversible migration
=>
Squashing migrations from unique=True to unique=False to
UniqueConstraint produces irreversible migration on Postgres

Comment:

Replicated on Postgres, accepting 👍
--
Ticket URL: <https://code.djangoproject.com/ticket/35469#comment:3>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
Reply all
Reply to author
Forward
0 new messages