Fix: Force schema migration with --accept-data-loss on container startup
This commit is contained in:
1 parent
36319652ad
commit
996126c622
1 file changed
+1
-1
+1
-1
@@ -41,4 +41,4 @@ RUN mkdir -p /app/data
|
|||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
# Start script
|
# 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"]
|
||||||
Reference in new issue
Block a user