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

19 lines
530 B
Python
Raw Normal View History

2021-12-30 17:03:41 -05:00
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('contenttypes', '0002_remove_content_type_name'),
2022-01-04 17:07:37 -05:00
('extras', '0068_configcontext_cluster_types'),
2021-12-30 17:03:41 -05:00
]
operations = [
migrations.AddField(
model_name='customfield',
name='object_type',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='contenttypes.contenttype'),
),
]