fix: event duration can be 0 (#11145)

Co-authored-by: Udit Takkar <[email protected]>
This commit is contained in:
MehulandUdit Takkar authored and GitHub committed 2023-09-06 17:21:24 +02:00
1 parent 3701fcd68b
commit bf437b7d6b
3 files changed
+12 -2

No files matched your search

+1
View File
@@ -56,6 +56,7 @@ model EventType {
position Int @default(0)
/// @zod.custom(imports.eventTypeLocations)
locations Json?
/// @zod.min(1)
length Int
offsetStart Int @default(0)
hidden Boolean @default(false)