-- 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'
));