
ALTER TABLE api.segments
  DROP COLUMN id;

ALTER TABLE api.segments
  ADD COLUMN id uuid PRIMARY KEY DEFAULT gen_random_uuid();
