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:
Mouse Reeve 2023-11-01 16:24:47 -07:00
parent 941efb3f72
commit 6f9c7f39fb

View file

@ -45,5 +45,7 @@ class Migration(migrations.Migration):
] ]
operations = [ operations = [
migrations.RunPython(populate_sort_title), migrations.RunPython(
populate_sort_title, reverse_code=migrations.RunPython.noop
),
] ]