Changes between Initial Version and Version 1 of Ticket #28438
- Timestamp:
- Jul 26, 2017, 11:33:35 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28438 – Description
initial v1 62 62 }}} 63 63 64 Thi ecreates 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}}}:64 This 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}}}: 65 65 {{{ 66 66 BEGIN; … … 78 78 79 79 80 81 80 Tested with Django 1.11.3, Python 2.7