|
|
@ -95,7 +95,7 @@ CREATE TABLE events (
|
|
|
|
(video_ranges IS NULL AND video_transitions IS NULL)
|
|
|
|
(video_ranges IS NULL AND video_transitions IS NULL)
|
|
|
|
OR CARDINALITY(video_ranges) = CARDINALITY(video_transitions) + 1
|
|
|
|
OR CARDINALITY(video_ranges) = CARDINALITY(video_transitions) + 1
|
|
|
|
),
|
|
|
|
),
|
|
|
|
video_crop box,
|
|
|
|
video_crop public.box,
|
|
|
|
video_title TEXT CHECK (state IN ('UNEDITED', 'DONE') OR video_title IS NOT NULL),
|
|
|
|
video_title TEXT CHECK (state IN ('UNEDITED', 'DONE') OR video_title IS NOT NULL),
|
|
|
|
video_description TEXT CHECK (state IN ('UNEDITED', 'DONE') OR video_description IS NOT NULL),
|
|
|
|
video_description TEXT CHECK (state IN ('UNEDITED', 'DONE') OR video_description IS NOT NULL),
|
|
|
|
video_tags TEXT[] CHECK (state IN ('UNEDITED', 'DONE') OR video_tags IS NOT NULL),
|
|
|
|
video_tags TEXT[] CHECK (state IN ('UNEDITED', 'DONE') OR video_tags IS NOT NULL),
|
|
|
|