1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Closes #1638: Migrate all primary keys to 64-bit integers

This commit is contained in:
Jeremy Stretch
2021-02-26 16:12:52 -05:00
parent cf78307577
commit 7e6cb9d186
17 changed files with 72 additions and 388 deletions

View File

@ -13,7 +13,7 @@ from dcim.constants import *
from dcim.fields import MACAddressField
from extras.models import ObjectChange, TaggedItem
from extras.utils import extras_features
from netbox.models import PrimaryModel
from netbox.models import BigIDModel
from utilities.fields import NaturalOrderingField
from utilities.mptt import TreeManager
from utilities.ordering import naturalize_interface
@ -38,7 +38,7 @@ __all__ = (
)
class ComponentModel(PrimaryModel):
class ComponentModel(BigIDModel):
"""
An abstract model inherited by any model which has a parent Device.
"""