I'm now discovering that some INT keys were subrepticely converting to BIGINT in the database without me noticing. And there is no BigAutoField in any of the migrations.
More worrying, there seem to have been several other unwanted changes: 1. NOT NULL changed to DEFAULT NULL (or the other way round for some models). The model has not changed in any way recently however. 2. FOREIGN KEY contraints gone missing. I'm currently going through an old mysql backup to get them back. Cheers, Caram Le vendredi 26 mars 2021 à 11:30:44 UTC+1, Mariusz Felisiak a écrit : > Can you provide a small project to reproduce? > > Best, > Mariusz > -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/5cc8b42e-cedd-420d-86ee-442e166b81edn%40googlegroups.com.