-- Reverse: Remove enhanced timeline_items fields

-- Remove JSONB columns
ALTER TABLE timeline_items DROP COLUMN IF EXISTS tags;
ALTER TABLE timeline_items DROP COLUMN IF EXISTS related;
ALTER TABLE timeline_items DROP COLUMN IF EXISTS actors;
ALTER TABLE timeline_items DROP COLUMN IF EXISTS locations;

-- Remove summary column
ALTER TABLE timeline_items DROP COLUMN IF EXISTS summary;

-- Remove importance column
ALTER TABLE timeline_items DROP COLUMN IF EXISTS importance;

-- Remove categorization columns
ALTER TABLE timeline_items DROP COLUMN IF EXISTS is_historical;
ALTER TABLE timeline_items DROP COLUMN IF EXISTS kind;
ALTER TABLE timeline_items DROP COLUMN IF EXISTS category;

-- Remove time range columns
ALTER TABLE timeline_items DROP COLUMN IF EXISTS time_to;
ALTER TABLE timeline_items DROP COLUMN IF EXISTS time_from;
