Update & merge migrations

This commit is contained in:
jeremystretch 2023-02-16 11:59:21 -05:00
parent 15be44d06b
commit 73e18f26b3
2 changed files with 6 additions and 23 deletions

View File

@ -1,20 +0,0 @@
# Generated by Django 4.1.6 on 2023-02-10 14:32
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('extras', '0086_configtemplate'),
('dcim', '0168_interface_template_enabled'),
]
operations = [
migrations.AddField(
model_name='device',
name='config_template',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='devices', to='extras.configtemplate'),
),
]

View File

@ -1,5 +1,3 @@
# Generated by Django 4.1.6 on 2023-02-12 20:41
from django.db import migrations, models from django.db import migrations, models
import django.db.models.deletion import django.db.models.deletion
@ -8,10 +6,15 @@ class Migration(migrations.Migration):
dependencies = [ dependencies = [
('extras', '0086_configtemplate'), ('extras', '0086_configtemplate'),
('dcim', '0169_device_configtemplate'), ('dcim', '0169_devicetype_default_platform'),
] ]
operations = [ operations = [
migrations.AddField(
model_name='device',
name='config_template',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='devices', to='extras.configtemplate'),
),
migrations.AddField( migrations.AddField(
model_name='devicerole', model_name='devicerole',
name='config_template', name='config_template',