#37068: Avoid table rebuild on SQLite 3.53.0+ for NOT NULL and CHECK constraints
-------------------------------------+-------------------------------------
Reporter: Adam | Owner: Adam Johnson
Johnson |
Type: New | Status: assigned
feature |
Component: Database | Version: dev
layer (models, ORM) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Per
[https://www.sqlite.org/releaselog/3_53_0.html#:~:text=features:-,Enhance%20ALTER%20TABLE%20to%20permit%20adding%20and%20removing%20NOT%20NULL%20and%20CHECK%20constraints.,-The
this release note]:
> Enhance ALTER TABLE to permit adding and removing NOT NULL and CHECK
constraints.
…we should be able to extend `django/db/backends/sqlite3/schema.py` to
avoid table rebuilds in those scenarios.
--
Ticket URL: <https://code.djangoproject.com/ticket/37068>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/0107019dc6d28aab-08989de2-a40a-4f24-bbc4-78089cfc3c8f-000000%40eu-central-1.amazonses.com.