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:
@ -1,3 +1,5 @@
|
||||
# Generated by Django 3.2b1 on 2021-02-26 21:11
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
@ -18,9 +20,4 @@ class Migration(migrations.Migration):
|
||||
name='id',
|
||||
field=models.BigAutoField(primary_key=True, serialize=False),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='userconfig',
|
||||
name='id',
|
||||
field=models.BigAutoField(primary_key=True, serialize=False),
|
||||
),
|
||||
]
|
||||
|
@ -51,7 +51,7 @@ class AdminUser(User):
|
||||
# User preferences
|
||||
#
|
||||
|
||||
class UserConfig(BigIDModel):
|
||||
class UserConfig(models.Model):
|
||||
"""
|
||||
This model stores arbitrary user-specific preferences in a JSON data structure.
|
||||
"""
|
||||
|
Reference in New Issue
Block a user