ALTER TABLE IF EXISTS api.records_segments
DROP COLUMN segments_order;
ADD COLUMN segment_order INT NOT NULL DEFAULT 0;