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

#11685: Omit no-op migration

This commit is contained in:
jeremystretch
2023-02-19 20:08:57 -05:00
parent e635e3e959
commit cd09501d4d
2 changed files with 2 additions and 20 deletions

View File

@@ -3,6 +3,7 @@ import uuid
import django.db.models.deletion
import django.db.models.lookups
from django.db import migrations, models
import extras.fields
class Migration(migrations.Migration):
@@ -32,7 +33,7 @@ class Migration(migrations.Migration):
('object_id', models.PositiveBigIntegerField()),
('field', models.CharField(max_length=200)),
('type', models.CharField(max_length=30)),
('value', models.TextField()),
('value', extras.fields.CachedValueField()),
('weight', models.PositiveSmallIntegerField(default=1000)),
('object_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='+', to='contenttypes.contenttype')),
],