mirror of
https://github.com/wger-project/wger.git
synced 2026-11-28 17:28:35 +01:00
Apply migrations by default when DJANGO_PERFORM_MIGRATIONS is unset
This commit is contained in:
@@ -36,7 +36,7 @@ then
|
||||
fi
|
||||
|
||||
# Perform database migrations
|
||||
if [[ "$DJANGO_PERFORM_MIGRATIONS" == "True" ]];
|
||||
if [[ "${DJANGO_PERFORM_MIGRATIONS:-True}" == "True" ]];
|
||||
then
|
||||
echo "Performing database migrations"
|
||||
if ! python3 manage.py migrate; then
|
||||
|
||||
Reference in New Issue
Block a user