mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 02:31:12 -05:00
21 lines
477 B
SQL
21 lines
477 B
SQL
-- Add 'opening' to timeline event types
|
|
ALTER TABLE public.entity_timeline_events
|
|
DROP CONSTRAINT entity_timeline_events_event_type_check;
|
|
|
|
ALTER TABLE public.entity_timeline_events
|
|
ADD CONSTRAINT entity_timeline_events_event_type_check
|
|
CHECK (event_type IN (
|
|
'name_change',
|
|
'operator_change',
|
|
'owner_change',
|
|
'location_change',
|
|
'status_change',
|
|
'opening',
|
|
'closure',
|
|
'reopening',
|
|
'renovation',
|
|
'expansion',
|
|
'acquisition',
|
|
'milestone',
|
|
'other'
|
|
)); |