Allow the renaming of the main section by temporal product permission.

Allow deleting sections which do not have tables, but have associated section printers.
This commit is contained in:
2021-09-04 13:08:46 +05:30
parent 63dfe05044
commit 5bea488181
2 changed files with 13 additions and 3 deletions

View File

@ -87,10 +87,14 @@ then
docker start "$doname" || exit
docker exec -it "$doname" poetry run alembic upgrade 48bc1c7c07ce || exit
docker exec -it "$doname" poetry run alembic upgrade e5e8acfc6495 || exit
docker exec -it "$doname" poetry run alembic upgrade c123dbf9c659 || exit
docker exec -it "$doname" poetry run alembic upgrade 81d94c5223a7 || exit
else
cd "$parent_path"/barker || exit
alembic upgrade 48bc1c7c07ce || exit
alembic upgrade e5e8acfc6495 || exit
alembic upgrade c123dbf9c659 || exit
alembic upgrade 81d94c5223a7 || exit
fi
rm -f "$parent_path"/csv/*.csv "$parent_path"/csv/csv.tar.zip || exit