mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-23 16:40:36 +00:00
Adds reverse migration for populate sort title
This doesn't impact much, it just allows you to reverse the migration, which you would probably (hopefully) only want ot do in development.
This commit is contained in:
parent
941efb3f72
commit
6f9c7f39fb
1 changed files with 3 additions and 1 deletions
|
@ -45,5 +45,7 @@ class Migration(migrations.Migration):
|
|||
]
|
||||
|
||||
operations = [
|
||||
migrations.RunPython(populate_sort_title),
|
||||
migrations.RunPython(
|
||||
populate_sort_title, reverse_code=migrations.RunPython.noop
|
||||
),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue