forked from sagnik/Project_Velocity
7 lines
256 B
SQL
7 lines
256 B
SQL
ALTER TABLE user_calendar_events
|
|
DROP CONSTRAINT IF EXISTS user_calendar_events_status_check;
|
|
|
|
ALTER TABLE user_calendar_events
|
|
ADD CONSTRAINT user_calendar_events_status_check
|
|
CHECK (status IN ('tentative', 'confirmed', 'done', 'cancelled'));
|