The table has
UNIQUE INDEX ceqag_event_question ( ceqag_event_id, ceqag_question_id ),
but the index should also include ceqag_answer_option. For each event and each question, there can be multiple rows (<=1 for each option).
- Update index definition in the code
- Schema change in beta
- Schema change in production (T342966)