DROP INDEX IF EXISTS cal_calendars_owner_path_segment; ALTER TABLE cal_calendars DROP COLUMN IF EXISTS path_segment;