Changes between Initial Version and Version 1 of Ticket #29123
- Timestamp:
- Feb 11, 2018, 3:18:53 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #29123 – Description
initial v1 4 4 5 5 == STR: 6 1. Git clone `https://github.com/edmorley/django-migration-int-to-fk-testcase`6 1. Git clone [https://github.com/edmorley/django-migration-int-to-fk-testcase https://github.com/edmorley/django-migration-int-to-fk-testcase] 7 7 2. `pip install https://github.com/django/django/archive/master.zip` 8 8 3. `./manage.py migrate` … … 17 17 == Actual: 18 18 19 The new `0002_broken_migration.py` migration incorrectly lists the `AddField` 20 operation before the `RemoveField` operation... 19 The new `0002_broken_migration.py` migration incorrectly lists the `AddField` operation before the `RemoveField` operation... 21 20 22 21 {{{#!python … … 46 45 Running migrations: 47 46 Applying testapp.0002_broken_migration...Traceback (most recent call last): 48 File " /c/Users/Ed/.virtualenvs/django-master/lib/python3.6/site-packages/django/db/backends/utils.py", line 83, in _execute47 File ".../site-packages/django/db/backends/utils.py", line 83, in _execute 49 48 return self.cursor.execute(sql) 50 File " /c/Users/Ed/.virtualenvs/django-master/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 290, in execute49 File ".../site-packages/django/db/backends/sqlite3/base.py", line 290, in execute 51 50 return Database.Cursor.execute(self, query) 52 51 sqlite3.OperationalError: duplicate column name: foo_id … … 57 56 * This affects both the SQLite backend and the MySQL backend (others not tested). 58 57 * At time of testing, django master was at revision `6d794fb76212bb8a62fe2cd97cff173054e1c626`. 58 * The above was using Python 3.6.2.