Update docker-entrypoint.sh

This commit is contained in:
talatops 2026-02-17 23:11:13 +05:00 committed by GitHub
parent 1ff77cb459
commit 7321b85c00
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -15,8 +15,8 @@ client.connect()
sleep 1
done
echo "Running Prisma migrations (migrate deploy)..."
npx prisma migrate deploy
echo "Syncing database schema with Prisma (db push)..."
npx prisma db push --accept-data-loss
if [ "$RUN_TEMPLATE_SEED_ON_START" = "true" ]; then
echo "Seeding predefined email templates..."