From bccfa280e142bd2bbf5f450aaf2c3a26441efd7f Mon Sep 17 00:00:00 2001 From: stupidcomputer Date: Wed, 24 Jul 2024 01:32:23 -0500 Subject: [PATCH] fix: sync the database after migrating --- franklincce/entrypoint.prod.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/franklincce/entrypoint.prod.sh b/franklincce/entrypoint.prod.sh index cb56b49..24f235d 100755 --- a/franklincce/entrypoint.prod.sh +++ b/franklincce/entrypoint.prod.sh @@ -1,6 +1,6 @@ #!/bin/sh python3 manage.py makemigrations -python3 manage.py migrate +python3 manage.py migrate --run-syncdb exec "$@"