mirror of
https://github.com/netbox-community/netbox.git
synced 2026-04-23 01:08:45 +02:00
Closes #8195: Ensure all GenericForeignKey ID fields employ PositiveBigIntegerField
This commit is contained in:
@@ -131,7 +131,7 @@ class ContactAssignment(WebhooksMixin, ChangeLoggedModel):
|
||||
to=ContentType,
|
||||
on_delete=models.CASCADE
|
||||
)
|
||||
object_id = models.PositiveIntegerField()
|
||||
object_id = models.PositiveBigIntegerField()
|
||||
object = GenericForeignKey(
|
||||
ct_field='content_type',
|
||||
fk_field='object_id'
|
||||
|
||||
Reference in New Issue
Block a user