common/dal/schema/000020_init.up.sql

2 lines
72 B
SQL

CREATE INDEX IF NOT EXISTS results_for_quiz ON answer(quiz_id, result);