Skip to content

Commit

Permalink
Add missing migration
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed May 23, 2023
1 parent 47d0262 commit 6140be3
Showing 1 changed file with 41 additions and 0 deletions.
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),
),
]

0 comments on commit 6140be3

Please sign in to comment.