From 9611816fe892c4ca5fac4aab1cd806407b39d483 Mon Sep 17 00:00:00 2001 From: Ryan Merolle Date: Wed, 25 Jan 2023 15:22:35 -0500 Subject: [PATCH] Address Missing Migrations for NetBox 3.4 / plugin version 1.2 (#118) * add missing netbox 3.4 migrations * bump version to 1.2.2 --- README.md | 2 +- netbox_acls/migrations/0003_netbox_acls.py | 42 ++++++++++++++++++++++ netbox_acls/version.py | 2 +- 3 files changed, 44 insertions(+), 2 deletions(-) create mode 100644 netbox_acls/migrations/0003_netbox_acls.py diff --git a/README.md b/README.md index 774d0b2..6af94cf 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Each Plugin Version listed below has been tested with its corresponding NetBox V |:--------------:|:--------------:| | 3.2 | 1.0.1 | | 3.3 | 1.1.0 | -| 3.4 | 1.2.1 | +| 3.4 | 1.2.2 | ## Installing diff --git a/netbox_acls/migrations/0003_netbox_acls.py b/netbox_acls/migrations/0003_netbox_acls.py new file mode 100644 index 0000000..ccfcfbe --- /dev/null +++ b/netbox_acls/migrations/0003_netbox_acls.py @@ -0,0 +1,42 @@ +# Generated by Django 4.1.5 on 2023-01-25 20:08 + +import utilities.json +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ("netbox_acls", "0002_alter_accesslist_options_and_more"), + ] + + operations = [ + migrations.AlterField( + model_name="accesslist", + name="custom_field_data", + field=models.JSONField( + blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder + ), + ), + migrations.AlterField( + model_name="aclextendedrule", + name="custom_field_data", + field=models.JSONField( + blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder + ), + ), + migrations.AlterField( + model_name="aclinterfaceassignment", + name="custom_field_data", + field=models.JSONField( + blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder + ), + ), + migrations.AlterField( + model_name="aclstandardrule", + name="custom_field_data", + field=models.JSONField( + blank=True, default=dict, encoder=utilities.json.CustomFieldJSONEncoder + ), + ), + ] diff --git a/netbox_acls/version.py b/netbox_acls/version.py index a955fda..bc86c94 100644 --- a/netbox_acls/version.py +++ b/netbox_acls/version.py @@ -1 +1 @@ -__version__ = "1.2.1" +__version__ = "1.2.2"