Opened 3 weeks ago
Last modified 2 weeks ago
#37068 assigned New feature
Avoid table rebuild on SQLite 3.53.0+ for NOT NULL and CHECK constraints — at Version 2
| Reported by: | Adam Johnson | Owned by: | Adam Johnson |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | yes |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Per ​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.
Change History (2)
comment:1 by , 3 weeks ago
| Triage Stage: | Unreviewed → Accepted |
|---|
comment:2 by , 3 weeks ago
| Description: | modified (diff) |
|---|
Note:
See TracTickets
for help on using tickets.