#37068: Avoid table rebuild on SQLite 3.53.0+ for NOT NULL and CHECK constraints
-------------------------------------+-------------------------------------
Reporter: Adam Johnson | Owner: Adam
| Johnson
Type: New feature | Status: assigned
Component: Database layer | Version: dev
(models, ORM) |
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
-------------------------------------+-------------------------------------
Description changed by Adam Johnson:
Old description:
> 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.
New description:
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#comment:2>
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/0107019dc853f87e-602f9789-c34d-4235-b640-6d520fbac152-000000%40eu-central-1.amazonses.com.