Opened 71 minutes ago
#37068 assigned New feature
Avoid table rebuild on SQLite 3.53.0+ for NOT NULL and CHECK constraints
| Reported by: | Adam Johnson | Owned by: | Adam Johnson |
|---|---|---|---|
| Component: | Database layer (models, ORM) | Version: | dev |
| Severity: | Normal | Keywords: | |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description
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.
Note:
See TracTickets
for help on using tickets.