Skip to content

Commit b16bdd4

Browse files
committed
migrate database
1 parent 47fb408 commit b16bdd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/entrypoint.prod.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ if [ "$DATABASE" = "postgres" ]; then
1010
echo "PostgreSQL started"
1111
fi
1212
echo >&2 "PostgreSQL is ready!"
13-
echo exec('pwd'), "\n";
14-
echo exec('ls'), "\n";
13+
1514
python manage.py collectstatic --no-input
15+
python manage.py makemigrations
1616
python manage.py migrate
1717

1818
exec "$@"

0 commit comments

Comments
 (0)