aboutsummaryrefslogtreecommitdiffstats
path: root/pyblackbird_cc/resources/migrations
diff options
context:
space:
mode:
Diffstat (limited to 'pyblackbird_cc/resources/migrations')
-rw-r--r--pyblackbird_cc/resources/migrations/0017_rename_additional_resource_category_resource_subcategories.py18
-rw-r--r--pyblackbird_cc/resources/migrations/0018_alter_resource_subcategories.py25
2 files changed, 43 insertions, 0 deletions
diff --git a/pyblackbird_cc/resources/migrations/0017_rename_additional_resource_category_resource_subcategories.py b/pyblackbird_cc/resources/migrations/0017_rename_additional_resource_category_resource_subcategories.py
new file mode 100644
index 0000000..bc4d1e4
--- /dev/null
+++ b/pyblackbird_cc/resources/migrations/0017_rename_additional_resource_category_resource_subcategories.py
@@ -0,0 +1,18 @@
+# Generated by Django 5.0.4 on 2024-08-01 14:29
+
+from django.db import migrations
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ("resources", "0016_alter_resourcesubcategory_options_and_more"),
+ ]
+
+ operations = [
+ migrations.RenameField(
+ model_name="resource",
+ old_name="additional_resource_category",
+ new_name="subcategories",
+ ),
+ ]
diff --git a/pyblackbird_cc/resources/migrations/0018_alter_resource_subcategories.py b/pyblackbird_cc/resources/migrations/0018_alter_resource_subcategories.py
new file mode 100644
index 0000000..c981512
--- /dev/null
+++ b/pyblackbird_cc/resources/migrations/0018_alter_resource_subcategories.py
@@ -0,0 +1,25 @@
+# Generated by Django 5.0.4 on 2024-08-01 15:08
+
+from django.db import migrations, models
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ (
+ "resources",
+ "0017_rename_additional_resource_category_resource_subcategories",
+ ),
+ ]
+
+ operations = [
+ migrations.AlterField(
+ model_name="resource",
+ name="subcategories",
+ field=models.ManyToManyField(
+ blank=True,
+ related_name="additional_resource_category",
+ to="resources.resourcesubcategory",
+ ),
+ ),
+ ]