This commit is contained in:
Carl-Gerhard Lindesvärd
2026-01-07 10:04:21 +01:00
parent ba93924d20
commit ca15717885
33 changed files with 2375 additions and 148 deletions

View File

@@ -0,0 +1,5 @@
-- AlterEnum
ALTER TYPE "public"."ChartType" ADD VALUE 'sankey';
-- AlterTable
ALTER TABLE "public"."reports" ADD COLUMN "options" JSONB;

View File

@@ -279,6 +279,7 @@ enum ChartType {
funnel
retention
conversion
sankey
}
model Dashboard {
@@ -321,6 +322,8 @@ model Report {
criteria String?
funnelGroup String?
funnelWindow Float?
/// [IReportOptions]
options Json?
dashboardId String
dashboard Dashboard @relation(fields: [dashboardId], references: [id], onDelete: Cascade)