echos-ocr/start.sh
Randall Stillwell 414e10ad13 Remove --skip-generate flag from prisma db push
Prisma v7 no longer supports this option.

Made-with: Cursor
2026-03-10 14:03:20 -05:00

8 lines
223 B
Bash
Executable file

#!/bin/sh
set -e
echo "Running database migrations..."
node node_modules/prisma/build/index.js db push 2>&1 || echo "Warning: prisma db push failed, tables may already exist"
echo "Starting server..."
exec node server.js