ALTER TABLE question_type_definitions
    DROP COLUMN IF EXISTS stimulus_schema,
    DROP COLUMN IF EXISTS response_schema;

ALTER TABLE questions
    DROP COLUMN IF EXISTS dynamic_payload;

ALTER TABLE questions
    DROP CONSTRAINT IF EXISTS questions_question_type_check;

ALTER TABLE questions
    ADD CONSTRAINT questions_question_type_check
    CHECK (question_type IN ('MCQ', 'TRUE_FALSE', 'SHORT_ANSWER', 'AUDIO'));
