Update docker-entrypoint.sh
This commit is contained in:
parent
1ff77cb459
commit
7321b85c00
@ -15,8 +15,8 @@ client.connect()
|
|||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
echo "Running Prisma migrations (migrate deploy)..."
|
echo "Syncing database schema with Prisma (db push)..."
|
||||||
npx prisma migrate deploy
|
npx prisma db push --accept-data-loss
|
||||||
|
|
||||||
if [ "$RUN_TEMPLATE_SEED_ON_START" = "true" ]; then
|
if [ "$RUN_TEMPLATE_SEED_ON_START" = "true" ]; then
|
||||||
echo "Seeding predefined email templates..."
|
echo "Seeding predefined email templates..."
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user