Finalize scoring system, release year integration, and fix song deletion
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user