Changes between Initial Version and Version 1 of Ticket #25012, comment 13


Ignore:
Timestamp:
Jan 4, 2021, 12:26:10 PM (4 years ago)
Author:
Rowan Seymour

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25012, comment 13

    initial v1  
    1 Ran into this migrating primary keys to `BigAutoField`. Was expecting it to generate explicit migrations for changes to foreign keys to those ids, but it doesn't. Running `sqlmigrate` also didn't show any `ALTER` operations to foreign keys. However running the migration for the `BigAutoField` change, resulted in an `ALTER` on one foreign key, in a different app but not another in the same app.
     1Ran into this migrating primary keys to `BigAutoField`. Was expecting it to generate explicit migrations for changes to foreign keys to those ids, but it doesn't. Running `sqlmigrate` also didn't show any `ALTER` operations to foreign keys. However running the migration for the `BigAutoField` change, resulted in an `ALTER` on one foreign key in a different app, but not another in the same app.
Back to Top