Hello all, can anybody help me to model this entities.
In UI I show some charts, all chart's sections background colors, tickColor,lineColor and all can be configured. I want these values default for all users, but still users able to update this.
Copy code
model ChartSection {
id Int @id @default(autoincrement())
backgroundColor String
tickColor String
charts Chart[]
}
model Chart {
data ChartData[]
}
model ChartData {
...
}