From 99c9a872476e00caae9f4ffc5682a299fa17a4c9 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Wed, 14 Feb 2024 23:11:38 +0100 Subject: [PATCH] Add missing migrations --- .../0007_alter_highlight_content_block.py | 24 +++++++++++++++++++ ...008_rename_content_block_highlight_page.py | 18 ++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 server/notes/migrations/0007_alter_highlight_content_block.py create mode 100644 server/notes/migrations/0008_rename_content_block_highlight_page.py diff --git a/server/notes/migrations/0007_alter_highlight_content_block.py b/server/notes/migrations/0007_alter_highlight_content_block.py new file mode 100644 index 00000000..0ea185f0 --- /dev/null +++ b/server/notes/migrations/0007_alter_highlight_content_block.py @@ -0,0 +1,24 @@ +# Generated by Django 4.2.9 on 2024-02-14 15:07 + +from django.db import migrations, models +import django.db.models.deletion + + +class Migration(migrations.Migration): + + dependencies = [ + ("wagtailcore", "0089_log_entry_data_json_null_to_object"), + ("notes", "0006_highlight_note"), + ] + + operations = [ + migrations.AlterField( + model_name="highlight", + name="content_block", + field=models.ForeignKey( + on_delete=django.db.models.deletion.CASCADE, + related_name="highlights", + to="wagtailcore.page", + ), + ), + ] diff --git a/server/notes/migrations/0008_rename_content_block_highlight_page.py b/server/notes/migrations/0008_rename_content_block_highlight_page.py new file mode 100644 index 00000000..d9e476b1 --- /dev/null +++ b/server/notes/migrations/0008_rename_content_block_highlight_page.py @@ -0,0 +1,18 @@ +# Generated by Django 4.2.9 on 2024-02-14 15:09 + +from django.db import migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ("notes", "0007_alter_highlight_content_block"), + ] + + operations = [ + migrations.RenameField( + model_name="highlight", + old_name="content_block", + new_name="page", + ), + ]