I have default primary key in the model which is being referenced as 
foreign key in another model. Now, when I change this primary key type from 
AutoField to BigAutoField, migrations for only primary keys are being 
generated no migration for foreign key is generated. However, when I apply 
the migration generated for primary key, foreign key type also gets changed 
from int to bigint in postgres database. Is it expected that migrations for 
foreign key will not get generated?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a4cbdf90-bd62-46a7-9657-1c7ba39509c2n%40googlegroups.com.

Reply via email to