Fix: Add release year migration to docker-compose command chain
This commit is contained in:
@@ -24,6 +24,6 @@ services:
|
|||||||
timeout: 10s
|
timeout: 10s
|
||||||
retries: 3
|
retries: 3
|
||||||
start_period: 40s
|
start_period: 40s
|
||||||
# Initialize DB if needed and run migration
|
# Run migrations and start server
|
||||||
command: >
|
command: >
|
||||||
sh -c "npx -y prisma@6.19.0 db push && node scripts/migrate-covers.mjs && node server.js"
|
sh -c "npx prisma migrate deploy && node scripts/migrate-release-years.mjs && node scripts/migrate-covers.mjs && node server.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user