mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 03:56:53 -06:00
#11685: Omit no-op migration
This commit is contained in:
parent
e635e3e959
commit
cd09501d4d
@ -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')),
|
||||
],
|
||||
|
@ -1,19 +0,0 @@
|
||||
# Generated by Django 4.1.6 on 2023-02-07 08:21
|
||||
|
||||
from django.db import migrations
|
||||
import extras.fields
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('extras', '0084_staging'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='cachedvalue',
|
||||
name='value',
|
||||
field=extras.fields.CachedValueField(),
|
||||
),
|
||||
]
|
Loading…
Reference in New Issue
Block a user