9871 shaares
243 private links
243 private links
The integer used by the Django data model is an Int, but the database used BigInt. The discrepancy occured for the row IDs greater than the maximum value of the int.
Specifically, several tables—including this one—were specified as using an int for their primary key in Django, but used bigint in the real database.