Changes between Initial Version and Version 1 of Ticket #28789


Ignore:
Timestamp:
Nov 9, 2017, 6:00:22 AM (6 years ago)
Author:
Rafael Pires
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28789 – Description

    initial v1  
    5858Just to be sure I ran "ALTER TABLE myapp_mymodel RENAME TO myapp_newmymodel" directly on the database and the sqlite_master table is updated correctly.
    5959
     60I also ran **cursor.execute("ALTER TABLE myapp_mymodel RENAME TO myapp_newmymodel")** instead of **migrations.AlterModelTable** in the migration, but the problem is the same: sqlite3 backend won't update sqlite_master references.
     61
    6062Database: SQLite3
    6163Django version: 1.11.5
Back to Top