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
Fixed Prisma docker error.
Mike Caod43293da7216
diff --git a/Dockerfile b/Dockerfileindex 0f7c2d350..824c16db0 100644--- a/Dockerfile+++ b/Dockerfile@@ -36,7 +36,7 @@ RUN addgroup --system --gid 1001 nodejsRUN adduser --system --uid 1001 nextjsRUN set -x \- && apk add --no-cache curl \+ && 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 configurationdiff --git a/db/postgresql/schema.prisma b/db/postgresql/schema.prismaindex 364986dcd..504f70e50 100644--- a/db/postgresql/schema.prisma+++ b/db/postgresql/schema.prisma@@ -1,5 +1,6 @@generator client {- provider = "prisma-client-js"+ provider = "prisma-client-js"+ binaryTargets = ["native", "linux-musl-openssl-3.0.x"]}datasource db {@@ -19,8 +20,8 @@ model User {updatedAt DateTime? @updatedAt @map("updated_at") @db.Timestamptz(6)deletedAt DateTime? @map("deleted_at") @db.Timestamptz(6)- websiteUser Website[] @relation("user")- websiteCreateUser Website[] @relation("createUser")+ websiteUser Website[] @relation("user")+ websiteCreateUser Website[] @relation("createUser")teamUser TeamUser[]report Report[]@@ -112,7 +113,6 @@ model WebsiteEvent {@@index([visitId])@@index([websiteId])@@index([websiteId, createdAt])-@@index([websiteId, createdAt, urlPath])@@index([websiteId, createdAt, urlQuery])@@index([websiteId, createdAt, referrerDomain])@@ -150,7 +150,7 @@ model SessionData {id String @id() @map("session_data_id") @db.UuidwebsiteId String @map("website_id") @db.UuidsessionId String @map("session_id") @db.Uuid- dataKey String @map("data_key") @db.VarChar(500)+ dataKey String @map("data_key") @db.VarChar(500)stringValue String? @map("string_value") @db.VarChar(500)numberValue Decimal? @map("number_value") @db.Decimal(19, 4)dateValue DateTime? @map("date_value") @db.Timestamptz(6)