From 8c8f57696f7c9166abeae41e269241ecd57cac63 Mon Sep 17 00:00:00 2001 From: CapooL <2053217188@qq.com> Date: Mon, 25 Mar 2024 15:00:13 +0800 Subject: [PATCH] refactor(word): Adding new migrations due to version changes --- .../0008_alter_word_related_words.py | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 hinghwa-dict-backend/word/migrations/0008_alter_word_related_words.py diff --git a/hinghwa-dict-backend/word/migrations/0008_alter_word_related_words.py b/hinghwa-dict-backend/word/migrations/0008_alter_word_related_words.py new file mode 100644 index 00000000..66621be3 --- /dev/null +++ b/hinghwa-dict-backend/word/migrations/0008_alter_word_related_words.py @@ -0,0 +1,20 @@ +from django.db import migrations, models + + +class Migration(migrations.Migration): + dependencies = [ + ("word", "0007_character_type"), + ] + + operations = [ + migrations.AlterField( + model_name="word", + name="related_words", + field=models.ManyToManyField( + blank=True, + related_name="related_words", + to="word.word", + verbose_name="相关词汇", + ), + ), + ]