Fix: Force schema migration with --accept-data-loss on container startup

This commit is contained in:
Quintine committed 2026-05-20 15:01:53 +10:00
1 parent 36319652ad
commit 996126c622
1 file changed
+1 -1
+1 -1
View File
@@ -41,4 +41,4 @@ RUN mkdir -p /app/data
EXPOSE 3000
# Start script
CMD ["sh", "-c", "npx prisma db push && node dist/server.js"]
CMD ["sh", "-c", "npx prisma db push --accept-data-loss && node dist/server.js"]