From 94528841d92c36cfd50e257ea319d0b101a40e9a Mon Sep 17 00:00:00 2001 From: kevin-asprec Date: Mon, 4 May 2026 18:37:01 +0800 Subject: [PATCH] fix: mark mustChangePassword migration as applied (column already exists) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c46b444..6c91752 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,4 +34,4 @@ COPY --from=builder /app/packages/db/src ./packages/db/src ENV NODE_ENV=production EXPOSE 3001 ENTRYPOINT ["dumb-init", "--"] -CMD ["sh", "-c", "cd packages/db && npx prisma migrate resolve --rolled-back 20260504100000_add_user_must_change_password 2>/dev/null; npx prisma migrate deploy && if [ \"$RUN_SEED\" = \"true\" ]; then echo 'Seeding database...' && npx tsx prisma/seed.ts; fi && cd /app && node dist/main"] +CMD ["sh", "-c", "cd packages/db && npx prisma migrate resolve --applied 20260504100000_add_user_must_change_password 2>/dev/null; npx prisma migrate deploy && if [ \"$RUN_SEED\" = \"true\" ]; then echo 'Seeding database...' && npx tsx prisma/seed.ts; fi && cd /app && node dist/main"]