Changes between Initial Version and Version 1 of Ticket #28789
- Timestamp:
- Nov 9, 2017, 6:00:22 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28789 – Description
initial v1 58 58 Just 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. 59 59 60 I 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 60 62 Database: SQLite3 61 63 Django version: 1.11.5