Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
Downgrade to Prisma 5.22.0
Mike Cao662039090e02
diff --git a/Dockerfile b/Dockerfileindex 49ef8b475..4edd2c582 100644--- a/Dockerfile+++ b/Dockerfile@@ -39,8 +39,8 @@ RUN addgroup --system --gid 1001 nodejsRUN adduser --system --uid 1001 nextjsRUN set -x \- && apk add --no-cache curl \- && yarn add npm-run-all dotenv semver [email protected]+ && apk add --no-cache curl openssl \+ && yarn add npm-run-all dotenv semver [email protected]# You only need to copy next.config.js if you are NOT using the default configurationCOPY --from=builder /app/next.config.js .diff --git a/db/mysql/schema.prisma b/db/mysql/schema.prismaindex 2c5bec4e2..476e445f3 100644--- a/db/mysql/schema.prisma+++ b/db/mysql/schema.prisma@@ -1,6 +1,6 @@generator client {provider = "prisma-client-js"- binaryTargets = ["native"]+ binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]}datasource db {diff --git a/db/postgresql/schema.prisma b/db/postgresql/schema.prismaindex 8f063f8f0..b95e4c52b 100644--- a/db/postgresql/schema.prisma+++ b/db/postgresql/schema.prisma@@ -1,6 +1,6 @@generator client {provider = "prisma-client-js"- binaryTargets = ["native"]+ binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x"]}datasource db {diff --git a/package.json b/package.jsonindex ceec1709f..55d0f74b5 100644--- a/package.json+++ b/package.json@@ -69,7 +69,7 @@"@dicebear/collection": "^9.2.1","@dicebear/core": "^9.2.1","@fontsource/inter": "^4.5.15",- "@prisma/client": "6.1.0",+ "@prisma/client": "5.17.0","@prisma/extension-read-replicas": "^0.4.0","@react-spring/web": "^9.7.3","@tanstack/react-query": "^5.28.6",@@ -103,7 +103,7 @@"next-basics": "^0.39.0","node-fetch": "^3.2.8","npm-run-all": "^4.1.5",- "prisma": "6.1.0",+ "prisma": "5.17.0","react": "^19.0.0","react-basics": "^0.125.0","react-beautiful-dnd": "^13.1.0",diff --git a/yarn.lock b/yarn.lockindex 2307e3108..033c1322e 100644--- a/yarn.lock+++ b/yarn.lock@@ -2404,30 +2404,30 @@resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33"integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==-"@prisma/[email protected]":- version "6.1.0"- resolved "https://registry.yarnpkg.com/@prisma/client/-/client-6.1.0.tgz#179d3b70586e7be522f6f1f0a82cca01396f719a"- integrity sha512-AbQYc5+EJKm1Ydfq3KxwcGiy7wIbm4/QbjCKWWoNROtvy7d6a3gmAGkKjK0iUCzh+rHV8xDhD5Cge8ke/kiy5Q==--"@prisma/[email protected]":- version "6.1.0"- resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-6.1.0.tgz#a27a1d144f72a3bc95061ecb0255e7554d9d59ec"- integrity sha512-0himsvcM4DGBTtvXkd2Tggv6sl2JyUYLzEGXXleFY+7Kp6rZeSS3hiTW9mwtUlXrwYbJP6pwlVNB7jYElrjWUg==--"@prisma/engines-version@6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959":- version "6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959"- resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959.tgz#0b21ebf57362ffe35d0760c39855f90bbfa0f2fd"- integrity sha512-PdJqmYM2Fd8K0weOOtQThWylwjsDlTig+8Pcg47/jszMuLL9iLIaygC3cjWJLda69siRW4STlCTMSgOjZzvKPQ==--"@prisma/[email protected]":- version "6.1.0"- resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-6.1.0.tgz#2195244a8ce33839a8131e4465624e21d1f8d042"- integrity sha512-GnYJbCiep3Vyr1P/415ReYrgJUjP79fBNc1wCo7NP6Eia0CzL2Ot9vK7Infczv3oK7JLrCcawOSAxFxNFsAERQ==- dependencies:- "@prisma/debug" "6.1.0"- "@prisma/engines-version" "6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959"- "@prisma/fetch-engine" "6.1.0"- "@prisma/get-platform" "6.1.0"+"@prisma/[email protected]":+ version "5.17.0"+ resolved "https://registry.yarnpkg.com/@prisma/client/-/client-5.17.0.tgz#9079947bd749689c2dabfb9ecc70a24ebefb1f43"+ integrity sha512-N2tnyKayT0Zf7mHjwEyE8iG7FwTmXDHFZ1GnNhQp0pJUObsuel4ZZ1XwfuAYkq5mRIiC/Kot0kt0tGCfLJ70Jw==++"@prisma/[email protected]":+ version "5.17.0"+ resolved "https://registry.yarnpkg.com/@prisma/debug/-/debug-5.17.0.tgz#a765105848993984535b6066f8ebc6e6ead26533"+ integrity sha512-l7+AteR3P8FXiYyo496zkuoiJ5r9jLQEdUuxIxNCN1ud8rdbH3GTxm+f+dCyaSv9l9WY+29L9czaVRXz9mULfg==++"@prisma/engines-version@5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053":+ version "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053"+ resolved "https://registry.yarnpkg.com/@prisma/engines-version/-/engines-version-5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053.tgz#3c7cc1ef3ebc34cbd069e5873b9982f2aabf5acd"+ integrity sha512-tUuxZZysZDcrk5oaNOdrBnnkoTtmNQPkzINFDjz7eG6vcs9AVDmA/F6K5Plsb2aQc/l5M2EnFqn3htng9FA4hg==++"@prisma/[email protected]":+ version "5.17.0"+ resolved "https://registry.yarnpkg.com/@prisma/engines/-/engines-5.17.0.tgz#74dd1aabb22675892760b3cf69a448e3aef4616b"+ integrity sha512-+r+Nf+JP210Jur+/X8SIPLtz+uW9YA4QO5IXA+KcSOBe/shT47bCcRMTYCbOESw3FFYFTwe7vU6KTWHKPiwvtg==+ dependencies:+ "@prisma/debug" "5.17.0"+ "@prisma/engines-version" "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053"+ "@prisma/fetch-engine" "5.17.0"+ "@prisma/get-platform" "5.17.0""@prisma/extension-read-replicas@^0.3.0":version "0.3.0"@@ -2439,21 +2439,21 @@resolved "https://registry.yarnpkg.com/@prisma/extension-read-replicas/-/extension-read-replicas-0.4.0.tgz#b83e829d881e86a165bdc30040434723a665332a"integrity sha512-0KVjOgYJO9ymOACwLXebXB1XZCrfXXZMDkZrdZQOm9rqraC1rguwpPzXUdgv2txMLyJNSe+i5DOruDCU4FfvCA==-"@prisma/[email protected]":- version "6.1.0"- resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-6.1.0.tgz#2a5174787bf57c9b1d5d400bb923e0dc6a73a794"- integrity sha512-asdFi7TvPlEZ8CzSZ/+Du5wZ27q6OJbRSXh+S8ISZguu+S9KtS/gP7NeXceZyb1Jv1SM1S5YfiCv+STDsG6rrg==+"@prisma/[email protected]":+ version "5.17.0"+ resolved "https://registry.yarnpkg.com/@prisma/fetch-engine/-/fetch-engine-5.17.0.tgz#f718dc7426411d1ebeeee53e2d0d38652387f87c"+ integrity sha512-ESxiOaHuC488ilLPnrv/tM2KrPhQB5TRris/IeIV4ZvUuKeaicCl4Xj/JCQeG9IlxqOgf1cCg5h5vAzlewN91Q==dependencies:- "@prisma/debug" "6.1.0"- "@prisma/engines-version" "6.1.0-21.11f085a2012c0f4778414c8db2651556ee0ef959"- "@prisma/get-platform" "6.1.0"+ "@prisma/debug" "5.17.0"+ "@prisma/engines-version" "5.17.0-31.393aa359c9ad4a4bb28630fb5613f9c281cde053"+ "@prisma/get-platform" "5.17.0"-"@prisma/[email protected]":- version "6.1.0"- resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-6.1.0.tgz#d4394a24ef91af6675a92382ed40e6e6e07eeb13"- integrity sha512-ia8bNjboBoHkmKGGaWtqtlgQOhCi7+f85aOkPJKgNwWvYrT6l78KgojLekE8zMhVk0R9lWcifV0Pf8l3/15V0Q==+"@prisma/[email protected]":+ version "5.17.0"+ resolved "https://registry.yarnpkg.com/@prisma/get-platform/-/get-platform-5.17.0.tgz#89fdcae2adddebbbf0e7bd0474a6c49d6023519b"+ integrity sha512-UlDgbRozCP1rfJ5Tlkf3Cnftb6srGrEQ4Nm3og+1Se2gWmCZ0hmPIi+tQikGDUVLlvOWx3Gyi9LzgRP+HTXV9w==dependencies:- "@prisma/debug" "6.1.0"+ "@prisma/debug" "5.17.0""@react-spring/animated@~9.7.5":version "9.7.5"@@ -5970,7 +5970,7 @@ fs.realpath@^1.0.0:resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==[email protected], fsevents@^2.3.2, fsevents@~2.3.2:+fsevents@^2.3.2, fsevents@~2.3.2:version "2.3.3"resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.3.tgz#cac6407785d03675a2a5e1a5305c697b347d90d6"integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==@@ -9128,14 +9128,12 @@ pretty-format@^29.0.0, pretty-format@^29.7.0:ansi-styles "^5.0.0"react-is "^18.0.0"- version "6.1.0"- resolved "https://registry.yarnpkg.com/prisma/-/prisma-6.1.0.tgz#738f657fdd5ab8e6775f385db81bf7e61c70fbaf"- integrity sha512-aFI3Yi+ApUxkwCJJwyQSwpyzUX7YX3ihzuHNHOyv4GJg3X5tQsmRaJEnZ+ZyfHpMtnyahhmXVfbTZ+lS8ZtfKw==+ version "5.17.0"+ resolved "https://registry.yarnpkg.com/prisma/-/prisma-5.17.0.tgz#267b43921ab94805b010537cffa5ccaf530fa066"+ integrity sha512-m4UWkN5lBE6yevqeOxEvmepnL5cNPEjzMw2IqDB59AcEV6w7D8vGljDLd1gPFH+W6gUxw9x7/RmN5dCS/WTPxA==dependencies:- "@prisma/engines" "6.1.0"- optionalDependencies:- fsevents "2.3.3"+ "@prisma/engines" "5.17.0"process@^0.11.10:version "0.11.10"