Reports general data, projects import fix, and Docker entrypoint cleanup

- Reports page now shows platform-wide stats even when no rounds exist
- Fix missing getCountryFlag import on projects page
- Clean up Docker entrypoint: remove hardcoded migrate resolve

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-11 00:29:21 +01:00
parent 7e3d600eed
commit 74515768f5
4 changed files with 157 additions and 306 deletions

View File

@@ -1,11 +1,11 @@
#!/bin/sh
set -e
echo "==> Resolving any failed migrations..."
npx prisma migrate resolve --rolled-back 20260207000000_universal_apply_programid 2>/dev/null || true
echo "==> Running database migrations..."
npx prisma migrate deploy
echo "==> Generating Prisma client..."
npx prisma generate
echo "==> Starting application..."
exec node server.js