Changes between Version 5 and Version 6 of Ticket #33899


Ignore:
Timestamp:
Aug 6, 2022, 6:18:55 AM (2 years ago)
Author:
cessor
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #33899 – Description

    v5 v6  
    2222The migration fails with the following error (for an app called `web`, with a model called `Entity` with a field called `attribute` for example):
    2323
    24  ```
     24 {{{
    2525Running migrations:
    26   Applying contenttypes.0001_initial... OK
    27   ...
    28   Applying sessions.0001_initial... OK
    29   Applying web.0001_initial... OK
    30   Applying web.0002_remove_entity_attribute...Traceback (most recent call last):
    31   File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
    32     return self.cursor.execute(sql, params)
    33   File "/usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 357, in execute
    34     return Database.Cursor.execute(self, query, params)
     26Applying contenttypes.0001_initial... OK
     27...
     28Applying sessions.0001_initial... OK
     29Applying web.0001_initial... OK
     30Applying web.0002_remove_entity_attribute...Traceback (most recent call last):
     31File "/usr/local/lib/python3.10/site-packages/django/db/backends/utils.py", line 89, in _execute
     32 return self.cursor.execute(sql, params)
     33File "/usr/local/lib/python3.10/site-packages/django/db/backends/sqlite3/base.py", line 357, in execute
     34 return Database.Cursor.execute(self, query, params)
    3535sqlite3.OperationalError: error in index web_entity_attribute_d22c3fcb after drop column: no such column: attribute
    36 ```
     36}}}
    3737
    3838== Details
Back to Top