add references, chart improvement, fix scrollable combobox, fixed funnels
This commit is contained in:
@@ -25,6 +25,7 @@ model Project {
|
||||
dashboards Dashboard[]
|
||||
share ShareOverview?
|
||||
EventMeta EventMeta[]
|
||||
Reference Reference[]
|
||||
|
||||
@@map("projects")
|
||||
}
|
||||
@@ -184,3 +185,17 @@ model EventMeta {
|
||||
@@unique([name, project_id])
|
||||
@@map("event_meta")
|
||||
}
|
||||
|
||||
model Reference {
|
||||
id String @id @default(dbgenerated("gen_random_uuid()")) @db.Uuid
|
||||
title String
|
||||
description String?
|
||||
date DateTime @default(now())
|
||||
project_id String
|
||||
project Project @relation(fields: [project_id], references: [id])
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @default(now()) @updatedAt
|
||||
|
||||
@@map("references")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user