Changes between Initial Version and Version 1 of Ticket #470, comment 28
- Timestamp:
- May 22, 2020, 3:54:12 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #470, comment 28
initial v1 2 2 3 3 Django 3.x generates sql with drop default: 4 ``` 4 {{{ 5 5 ALTER TABLE "x" ADD COLUMN "y" integer DEFAULT 0 NOT NULL CHECK ("y" >= 0); 6 6 ALTER TABLE "x" ALTER COLUMN "y" DROP DEFAULT; 7 ``` 7 }}} 8 8 9 9 The whole thing is about not adding DROP DEFAULT. How about some kind of option for database backend?