db: Update index for consent table

This commit is contained in:
Shawn Kwang 2018-09-13 10:08:05 -05:00
parent fd3fb65047
commit 4531d5644c
1 changed files with 1 additions and 1 deletions

View File

@ -186,7 +186,7 @@ alter table private_messages
add index userid(userid);
alter table consent
add index userid_ctid(userid, consent_type_id),
add index userid_ctid_timestamp(userid, consent_type_id, consent_time),
add index consent_timestamp(consent_time),
add index flag_ctid(consent_flag, consent_type_id);