-- LMS programs are Learn English content only; exam prep uses exam_prep.catalog_courses.
UPDATE programs
SET
    category = 'LEARN_ENGLISH',
    updated_at = CURRENT_TIMESTAMP
WHERE category <> 'LEARN_ENGLISH';

ALTER TABLE programs
    DROP CONSTRAINT IF EXISTS chk_programs_category;

ALTER TABLE programs
    ADD CONSTRAINT chk_programs_category
        CHECK (category = 'LEARN_ENGLISH');
