Commit c152b2c1 authored by Romain Loth's avatar Romain Loth

sql index for validity date of return users speeds up filters

parent 75398703
...@@ -42,7 +42,8 @@ CREATE TABLE scholars ( ...@@ -42,7 +42,8 @@ CREATE TABLE scholars (
INDEX duid_index_sch (doors_uid), INDEX duid_index_sch (doors_uid),
INDEX country_index_sch (country), INDEX country_index_sch (country),
INDEX rstatus_index_sch (record_status) INDEX rstatus_index_sch (record_status),
INDEX vdate_index_sch (valid_date)
) ; ) ;
......
...@@ -35,7 +35,8 @@ CREATE TABLE scholars ( ...@@ -35,7 +35,8 @@ CREATE TABLE scholars (
INDEX duid_index_sch (doors_uid), INDEX duid_index_sch (doors_uid),
INDEX country_index_sch (country), INDEX country_index_sch (country),
INDEX rstatus_index_sch (record_status) INDEX rstatus_index_sch (record_status),
INDEX vdate_index_sch (valid_date)
) ; ) ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment