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…
Add table
Reference in a new issue