Skip to content

Commit

Permalink
Merge pull request #68 from DanSheps/develop
Browse files Browse the repository at this point in the history
Fix missing migration
  • Loading branch information
DanSheps authored May 23, 2023
2 parents 87641e0 + 6140be3 commit d34af72
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
41 changes: 41 additions & 0 deletions netbox_config_backup/migrations/0013_backup__to_netboxmodel.py
Original file line number Diff line number Diff line change
@@ -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),
),
]
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/',
Expand Down

0 comments on commit d34af72

Please sign in to comment.