===Acceptance criteria:===
- Tables will be created to match the following schema, plus appropriate indexes:
```
ce_question_answers
{
ceqa_id: bigint, autoincrement,
ceqa_event_id: integer,
ceqa_user_id: integer,
ceqa_question_id: integer,
ceqa_answer_option: integer | nullable,
ceqa_answer_text: string | nullable
}
ce_question_aggregation
{
ceqag_id: bigint | autoincrement,
ceqag_event_id: integer,
ceqag_question_id: integer,
ceqag_answer_option: integer,
ceqag_answers_amount: integer
}
ce_event_questions
{
ceeq_id: bigint | autoincrement,
ceeq_event_id: integer,
ceeq_question_id: integer
}
```
When a user answers participant questions for the first time, we should store the date of the answer.
When a users answers are aggregated- When this task is complete, we should store the date of aggregation.
When an organiser chooses questions for an event, we should store the questions (not MVP)a task for DBAs to create tables in production (ref: T336365)
Note that other schema changes for the "participant questions" epic are tracked elsewhere:
When- Adding the databases are created, appropriate indexes should be addedtimestamps of when the organizers agreed to the clickwrap agreement to the ce_organizers table: T337768.
When this task is complete, a task for DBAs to create tables in production (ref: T336365)
Note that we will store the timestamps of when the organizers agreed to the clickwrap agreement (T334761) into a new column in the ce_organizers table; that work is tracked in T337768- Storing when a participant first answered questions, not hereand whether their answers have already been aggregated: T339982.
==== External dependencies ====
* DBA availability
==== Other dependencies ====
*