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
fix check-db workflow
Francis Caob7d64a91bd43
diff --git a/scripts/check-db.js b/scripts/check-db.jsindex 192536fea..f4913e5dd 100644--- a/scripts/check-db.js+++ b/scripts/check-db.js@@ -68,10 +68,10 @@ async function checkV1Tables() {try {await prisma.$queryRaw`select * from account limit 1`;- console.log('Umami v1 tables detected. To upgrade from v1 to v2 run');- console.log('npx @umami/migrate-v1-v2');-- process.exit(0);+ error(+ 'Umami v1 tables detected. For how to upgrade from v1 to v2 go to https://umami.is/docs/migrate-v1-v2.',+ );+ process.exit(1);} catch (e) {// Ignore}