diff --git a/netbox_config_backup/migrations/0013_backup__to_netboxmodel.py b/netbox_config_backup/migrations/0013_backup__to_netboxmodel.py new file mode 100644 index 0000000..f15450a --- /dev/null +++ b/netbox_config_backup/migrations/0013_backup__to_netboxmodel.py @@ -0,0 +1,41 @@ +# Generated by Django 4.1.7 on 2023-04-05 19:31 + +from django.db import migrations, models +import taggit.managers +import utilities.json + + +class Migration(migrations.Migration): + + dependencies = [ + ('extras', '0084_staging'), + ('netbox_config_backup', '0012_backup_status'), + ] + + operations = [ + migrations.AddField( + model_name='backup', + name='created', + field=models.DateTimeField(auto_now_add=True, null=True), + ), + migrations.AddField( + model_name='backup', + name='custom_field_data', + field=models.JSONField(blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder), + ), + migrations.AddField( + model_name='backup', + name='last_updated', + field=models.DateTimeField(auto_now=True, null=True), + ), + migrations.AddField( + model_name='backup', + name='tags', + field=taggit.managers.TaggableManager(through='extras.TaggedItem', to='extras.Tag'), + ), + migrations.AlterField( + model_name='backup', + name='id', + field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False), + ), + ] diff --git a/setup.py b/setup.py index 6da733c..90eac0e 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='netbox_config_backup', - version='1.4.4', + version='1.4.5', description='NetBox Configuration Backup', long_description='Plugin to backup device configuration', url='https://github.com/dansheps/netbox-config-backup/',