Changes between Initial Version and Version 1 of Ticket #470, comment 28


Ignore:
Timestamp:
05/22/2020 03:54:12 AM (6 weeks ago)
Author:
Marcin Nowak
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #470, comment 28

    initial v1  
    22
    33Django 3.x generates sql with drop default:
    4 ```
     4{{{
    55        ALTER TABLE "x" ADD COLUMN "y" integer DEFAULT 0 NOT NULL CHECK ("y" >= 0);                               
    66        ALTER TABLE "x" ALTER COLUMN "y" DROP DEFAULT; 
    7 ```
     7}}}
    88
    99The whole thing is about not adding DROP DEFAULT. How about some kind of option for database backend?
Back to Top