🐸 Rybbit - open-source and privacy-friendly alternative to Google Analytics that is 10x more intuitive.
Update docker-entrypoint.sh to force database migrations during startup
Bill Yangb0ad344162e6
diff --git a/server/docker-entrypoint.sh b/server/docker-entrypoint.shindex 9655eed53..90f2b590e 100644--- a/server/docker-entrypoint.sh+++ b/server/docker-entrypoint.sh@@ -1,9 +1,9 @@#!/bin/shset -e-# Run migrations explicitly using the npm script-echo "Running database migrations...."-npm run db:push+# Run migrations explicitly using the npm script, forcing changes+echo "Running database migrations..."+npm run db:push -- --force# Start the applicationecho "Starting application..."