fix: make entrypoint migration non-fatal so app starts even if migrate.mjs fails
Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
node migrate.mjs
|
||||
echo "Attempting database migrations..."
|
||||
node migrate.mjs || echo "Migration skipped (non-fatal)."
|
||||
exec node server.js
|
||||
|
||||
Reference in New Issue
Block a user