Skip to content

Commit

Permalink
fix(word): adjust migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
lin594 committed Nov 16, 2023
1 parent 4ec744c commit 9196c83
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
9 changes: 0 additions & 9 deletions hinghwa-dict-backend/word/migrations/0004_word_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,15 +56,6 @@ class Migration(migrations.Migration):
verbose_name="词单作者",
),
),
(
"words",
models.ManyToManyField(
blank=True,
related_name="included_word",
to="word.Word",
verbose_name="词语",
),
),
],
),
]
4 changes: 0 additions & 4 deletions hinghwa-dict-backend/word/migrations/0006_list_ship.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@ class Migration(migrations.Migration):
"ordering": ["id"],
},
),
migrations.RemoveField(
model_name="list",
name="words",
),
migrations.AddField(
model_name="list",
name="words",
Expand Down

0 comments on commit 9196c83

Please sign in to comment.