Finalize scoring system, release year integration, and fix song deletion

This commit is contained in:
Hördle Bot
2025-11-23 20:37:23 +01:00
parent e5b0512884
commit 7b975dc3e3
15 changed files with 772 additions and 98 deletions

View File

@@ -7,6 +7,12 @@ echo "Starting deployment..."
echo "Running database migrations..."
npx prisma migrate deploy
# Run release year migration (only if not already done)
if [ ! -f /app/.release-years-migrated ]; then
echo "Running release year migration (this will take ~12 seconds for 600 songs)..."
node scripts/migrate-release-years.mjs
fi
# Start the application
echo "Starting application..."
exec node server.js