-- P5-5239: add slug to collections

ALTER TABLE collections_texts
    ADD COLUMN slug TEXT;


ALTER TABLE collections_texts ADD CONSTRAINT unique_slug UNIQUE (market_id, slug);
