Add rename_app command and use it

This allows users to migrate from a pre-rename database without
resetting their database, hopefully
This commit is contained in:
Joel Bradshaw
2020-11-19 13:49:53 -08:00
parent dfc9262876
commit 1d0c0ae5c5
3 changed files with 3 additions and 0 deletions

1
fr-dev
View File

@ -48,6 +48,7 @@ case "$1" in
execweb python manage.py makemigrations
;;
migrate)
execweb python manage.py rename_app fedireads bookwyrm
execweb python manage.py migrate
;;
bash)