|
|
@ -94,8 +94,8 @@ CREATE TABLE events (
|
|
|
|
OR thumbnail_crop IS NULL
|
|
|
|
OR thumbnail_crop IS NULL
|
|
|
|
), -- left, upper, right, and lower pixel coordinates to crop the selected frame
|
|
|
|
), -- left, upper, right, and lower pixel coordinates to crop the selected frame
|
|
|
|
thumbnail_location INTEGER[] CHECK (
|
|
|
|
thumbnail_location INTEGER[] CHECK (
|
|
|
|
cardinality(thumbnail_crop) = 4
|
|
|
|
cardinality(thumbnail_location) = 4
|
|
|
|
OR thumbnail_crop IS NULL
|
|
|
|
OR thumbnail_location IS NULL
|
|
|
|
), -- left, top, right, bottom pixel coordinates to position the cropped frame
|
|
|
|
), -- left, top, right, bottom pixel coordinates to position the cropped frame
|
|
|
|
|
|
|
|
|
|
|
|
state event_state NOT NULL DEFAULT 'UNEDITED',
|
|
|
|
state event_state NOT NULL DEFAULT 'UNEDITED',
|
|
|
|