ALTER TABLE programs DROP CONSTRAINT IF EXISTS chk_programs_publish_status;

ALTER TABLE programs DROP COLUMN IF EXISTS publish_status;

ALTER TABLE courses DROP CONSTRAINT IF EXISTS chk_courses_publish_status;

ALTER TABLE courses DROP COLUMN IF EXISTS publish_status;

ALTER TABLE modules DROP CONSTRAINT IF EXISTS chk_modules_publish_status;

ALTER TABLE modules DROP COLUMN IF EXISTS publish_status;

ALTER TABLE exam_prep.catalog_courses DROP CONSTRAINT IF EXISTS chk_exam_prep_catalog_courses_publish_status;

ALTER TABLE exam_prep.catalog_courses DROP COLUMN IF EXISTS publish_status;

ALTER TABLE exam_prep.units DROP CONSTRAINT IF EXISTS chk_exam_prep_units_publish_status;

ALTER TABLE exam_prep.units DROP COLUMN IF EXISTS publish_status;

ALTER TABLE exam_prep.unit_modules DROP CONSTRAINT IF EXISTS chk_exam_prep_unit_modules_publish_status;

ALTER TABLE exam_prep.unit_modules DROP COLUMN IF EXISTS publish_status;

ALTER TABLE exam_prep.unit_module_lessons DROP CONSTRAINT IF EXISTS chk_exam_prep_unit_module_lessons_publish_status;

ALTER TABLE exam_prep.unit_module_lessons DROP COLUMN IF EXISTS publish_status;
