mirror of
https://github.com/netbox-community/netbox.git
synced 2025-08-17 21:18:16 -06:00
Rename dependencies; remove FeatureQuery references
This commit is contained in:
parent
550649d2e6
commit
4024b32362
@ -10,10 +10,6 @@ class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
]
|
||||
|
||||
replaces = [
|
||||
('circuits', '0001_initial'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Circuit',
|
||||
|
@ -102,7 +102,7 @@ class Migration(migrations.Migration):
|
||||
('status', models.CharField(default='pending', max_length=30)),
|
||||
('data', models.JSONField(blank=True, null=True)),
|
||||
('job_id', models.UUIDField(unique=True)),
|
||||
('object_type', models.ForeignKey(limit_choices_to=extras.utils.FeatureQuery('jobs'), on_delete=django.db.models.deletion.CASCADE, related_name='jobs', to='contenttypes.contenttype')),
|
||||
('object_type', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='jobs', to='contenttypes.contenttype')),
|
||||
('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, related_name='+', to=settings.AUTH_USER_MODEL)),
|
||||
],
|
||||
options={
|
||||
|
@ -1,5 +1,3 @@
|
||||
# Generated by Django 4.2.9 on 2024-01-18 18:27
|
||||
|
||||
from django.conf import settings
|
||||
import django.contrib.postgres.fields
|
||||
import django.core.validators
|
||||
@ -154,7 +152,7 @@ class Migration(migrations.Migration):
|
||||
('id', models.BigAutoField(primary_key=True, serialize=False)),
|
||||
('color', utilities.fields.ColorField(default='9e9e9e', max_length=6)),
|
||||
('description', models.CharField(blank=True, max_length=200)),
|
||||
('object_types', models.ManyToManyField(blank=True, limit_choices_to=extras.utils.FeatureQuery('tags'), related_name='+', to='contenttypes.contenttype')),
|
||||
('object_types', models.ManyToManyField(blank=True, related_name='+', to='contenttypes.contenttype')),
|
||||
],
|
||||
options={
|
||||
'verbose_name': 'tag',
|
||||
@ -224,7 +222,7 @@ class Migration(migrations.Migration):
|
||||
('conditions', models.JSONField(blank=True, null=True)),
|
||||
('ssl_verification', models.BooleanField(default=True)),
|
||||
('ca_file_path', models.CharField(blank=True, max_length=4096, null=True)),
|
||||
('content_types', models.ManyToManyField(limit_choices_to=extras.utils.FeatureQuery('webhooks'), related_name='webhooks', to='contenttypes.contenttype')),
|
||||
('content_types', models.ManyToManyField(related_name='webhooks', to='contenttypes.contenttype')),
|
||||
('tags', taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag')),
|
||||
],
|
||||
options={
|
||||
@ -417,7 +415,7 @@ class Migration(migrations.Migration):
|
||||
('ui_visibility', models.CharField(default='read-write', max_length=50)),
|
||||
('is_cloneable', models.BooleanField(default=False)),
|
||||
('choice_set', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='choices_for', to='extras.customfieldchoiceset')),
|
||||
('content_types', models.ManyToManyField(limit_choices_to=extras.utils.FeatureQuery('custom_fields'), related_name='custom_fields', to='contenttypes.contenttype')),
|
||||
('content_types', models.ManyToManyField(related_name='custom_fields', to='contenttypes.contenttype')),
|
||||
('object_type', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='contenttypes.contenttype')),
|
||||
],
|
||||
options={
|
||||
|
@ -8,12 +8,12 @@ class Migration(migrations.Migration):
|
||||
initial = True
|
||||
|
||||
dependencies = [
|
||||
('core', '0002_initial'),
|
||||
('core', '0002_squashed'),
|
||||
('extras', '0001_initial'),
|
||||
('virtualization', '0001_initial'),
|
||||
('contenttypes', '0002_remove_content_type_name'),
|
||||
migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
||||
('dcim', '0003_initial'),
|
||||
('dcim', '0003_squashed'),
|
||||
('tenancy', '0001_initial'),
|
||||
]
|
||||
|
||||
|
@ -13,8 +13,8 @@ class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
('virtualization', '0001_initial'),
|
||||
('contenttypes', '0002_remove_content_type_name'),
|
||||
('extras', '0002_initial'),
|
||||
('dcim', '0003_initial'),
|
||||
('extras', '0002_squashed'),
|
||||
('dcim', '0003_squashed'),
|
||||
('ipam', '0001_initial'),
|
||||
('tenancy', '0001_initial'),
|
||||
]
|
||||
|
@ -16,7 +16,6 @@ class Migration(migrations.Migration):
|
||||
|
||||
replaces = [
|
||||
# Squashed for v3.0
|
||||
('tenancy', '0001_initial'),
|
||||
('tenancy', '0002_tenant_group_optional'),
|
||||
('tenancy', '0003_unicode_literals'),
|
||||
('tenancy', '0004_tags'),
|
||||
|
@ -18,7 +18,7 @@ class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
('extras', '0001_initial'),
|
||||
('ipam', '0001_initial'),
|
||||
('dcim', '0002_initial'),
|
||||
('dcim', '0002_squashed'),
|
||||
('tenancy', '0001_initial'),
|
||||
]
|
||||
|
||||
|
@ -13,7 +13,7 @@ class Migration(migrations.Migration):
|
||||
dependencies = [
|
||||
('extras', '0001_initial'),
|
||||
('ipam', '0001_initial'),
|
||||
('dcim', '0002_initial'),
|
||||
('dcim', '0002_squashed'),
|
||||
('tenancy', '0001_initial'),
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user