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", + ), + ]