Do not make migrations during deployment...
continuous-integration/drone/push Build was killed Details

V1
Joshua Rubingh 2 years ago
parent e6d0df2bf4
commit 8304aab759

@ -11,9 +11,9 @@ if [ "$DATABASE" = "postgres" ]; then
fi
# Make migrations and migrate the database.
echo "Making migrations and migrating the database. "
echo "Migrating the database. "
# Should migrations not already be made.....
python manage.py makemigrations --noinput
# python manage.py makemigrations --noinput
python manage.py migrate --noinput
# This initial data should only run once..... not sure what happens if run multiple times

Loading…
Cancel
Save