diff --git a/netbox_paas/migrations/0002_rename_application.py b/netbox_paas/migrations/0002_rename_application.py index 607f8b2..06262ae 100644 --- a/netbox_paas/migrations/0002_rename_application.py +++ b/netbox_paas/migrations/0002_rename_application.py @@ -1,6 +1,7 @@ # Generated by Django 4.2.8 on 2024-05-10 05:43 -from django.db import migrations +from django.db import migrations, models +import django.db.models.deletion def named_tuple_fetch_all(cursor): @@ -86,6 +87,12 @@ class Migration(migrations.Migration): ] operations = [ + migrations.AlterField( + model_name='netboxdbbackup', + name='netbox_env', + field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='db_backups', + to='netbox_paas.netboxconfiguration'), + ), migrations.RunPython(rename_indexes, migrations.RunPython.noop), migrations.RunPython(rename_foreignkeys, migrations.RunPython.noop), migrations.RunPython(migrate_models),