Add startup script to automate database migrations

This commit is contained in:
NeilClack
2026-07-17 11:24:02 -05:00
parent 849d806c03
commit bcd216bd56
2 changed files with 14 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/sh
set -e
echo "Running database migrations..."
npx prisma migrate deploy
echo "Starting application..."
exec node build/index.js