Changes between Initial Version and Version 1 of Ticket #28438


Ignore:
Timestamp:
Jul 26, 2017, 11:33:35 AM (7 years ago)
Author:
Michal Dabski
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28438 – Description

    initial v1  
    6262}}}
    6363
    64 Thie creates a new migration which adds {{{mixin_field}}} to it - nothing special. However, when applying both migrations after the model changes, second migration fails with the following error {{{django.db.utils.ProgrammingError: column "mixin_field" of relation "migration_test_testmodel" already exists}}}. as it turns out, the first migration's SQL has now changed to include {{{mixin_field}}}:
     64This creates a new migration which adds {{{mixin_field}}} to it - nothing special. However, when applying both migrations after the model changes, second migration fails with the following error {{{django.db.utils.ProgrammingError: column "mixin_field" of relation "migration_test_testmodel" already exists}}}. as it turns out, the first migration's SQL has now changed to include {{{mixin_field}}}:
    6565{{{
    6666BEGIN;
     
    7878
    7979
    80 
    8180Tested with Django 1.11.3, Python 2.7
Back to Top