Convert IntegerFields used by generic foreign keys to BigIntegerFields #8195
Labels
status: accepted
This issue has been accepted for implementation
type: housekeeping
Changes to the application which do not directly impact the end user
Milestone
Proposed Changes
Some time ago, we converted the default primary key for all NetBox models to 64-bit BigAutoFields (a derivative of BigIntegerField). However, we did not do the same for integer fields which are used as part of a GenericForeignKey reference. These fields also need to be converted.
Justification
This ensures that the GenericForeignKey relationships continue to function normally in the unlikely event that a user exceeds the maximum value of PositiveIntegerField.
The text was updated successfully, but these errors were encountered: