feat: add more indices to speed up responses

This commit is contained in:
Anna 2024-03-18 01:43:23 -04:00
parent 12e270ece4
commit 1760f97697
Signed by: anna
GPG Key ID: D0943384CD9F87D1
2 changed files with 4 additions and 0 deletions

View File

@ -0,0 +1,2 @@
drop index questions_publish_date_idx;
drop index responses_question_id_idx;

View File

@ -0,0 +1,2 @@
create index questions_publish_date_idx on questions (publish_date);
create index responses_question_id_idx on responses (question_id);