refactor(devops): Migration for updating model inheritance for DeviceModel model

ref:#817 #800
This commit is contained in:
2025-06-11 16:59:30 +09:30
parent 3332674cb6
commit 729bcf9a57
4 changed files with 42 additions and 4 deletions

View File

@ -0,0 +1,27 @@
# Generated by Django 5.1.9 on 2025-06-11 06:58
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("core", "0033_alter_ticketcommentcategory_parent_and_more"),
("itam", "0015_alter_device_config_alter_device_device_model_and_more"),
]
operations = [
migrations.AlterField(
model_name="devicemodel",
name="manufacturer",
field=models.ForeignKey(
blank=True,
help_text="Manufacturer this model is from",
null=True,
on_delete=django.db.models.deletion.PROTECT,
to="core.manufacturer",
verbose_name="Manufacturer",
),
),
]