diff --git a/openid-connect-server-webapp/src/main/resources/db/hsql/hsql_database_index.sql b/openid-connect-server-webapp/src/main/resources/db/hsql/hsql_database_index.sql index 4f61d534f..38636a96f 100644 --- a/openid-connect-server-webapp/src/main/resources/db/hsql/hsql_database_index.sql +++ b/openid-connect-server-webapp/src/main/resources/db/hsql/hsql_database_index.sql @@ -6,6 +6,7 @@ CREATE INDEX IF NOT EXISTS at_tv_idx ON access_token(token_value); CREATE INDEX IF NOT EXISTS ts_oi_idx ON token_scope(owner_id); CREATE INDEX IF NOT EXISTS at_exp_idx ON access_token(expiration); CREATE INDEX IF NOT EXISTS rf_ahi_idx ON refresh_token(auth_holder_id); +CREATE INDEX IF NOT EXISTS rf_tv_idx ON refresh_token(token_value); CREATE INDEX IF NOT EXISTS cd_ci_idx ON client_details(client_id); CREATE INDEX IF NOT EXISTS at_ahi_idx ON access_token(auth_holder_id); CREATE INDEX IF NOT EXISTS aha_oi_idx ON authentication_holder_authority(owner_id); diff --git a/openid-connect-server-webapp/src/main/resources/db/mysql/mysql_database_index.sql b/openid-connect-server-webapp/src/main/resources/db/mysql/mysql_database_index.sql index bbd5236e3..f5daf991d 100644 --- a/openid-connect-server-webapp/src/main/resources/db/mysql/mysql_database_index.sql +++ b/openid-connect-server-webapp/src/main/resources/db/mysql/mysql_database_index.sql @@ -6,6 +6,7 @@ CREATE INDEX at_tv_idx ON access_token(token_value(767)); CREATE INDEX ts_oi_idx ON token_scope(owner_id); CREATE INDEX at_exp_idx ON access_token(expiration); CREATE INDEX rf_ahi_idx ON refresh_token(auth_holder_id); +CREATE INDEX rf_tv_idx ON refresh_token(token_value(105)); CREATE INDEX cd_ci_idx ON client_details(client_id); CREATE INDEX at_ahi_idx ON access_token(auth_holder_id); CREATE INDEX aha_oi_idx ON authentication_holder_authority(owner_id); diff --git a/openid-connect-server-webapp/src/main/resources/db/oracle/oracle_database_index.sql b/openid-connect-server-webapp/src/main/resources/db/oracle/oracle_database_index.sql index 135d8819c..fc70a7ae4 100644 --- a/openid-connect-server-webapp/src/main/resources/db/oracle/oracle_database_index.sql +++ b/openid-connect-server-webapp/src/main/resources/db/oracle/oracle_database_index.sql @@ -6,6 +6,7 @@ CREATE INDEX at_tv_idx ON access_token(token_value); CREATE INDEX ts_oi_idx ON token_scope(owner_id); CREATE INDEX at_exp_idx ON access_token(expiration); CREATE INDEX rf_ahi_idx ON refresh_token(auth_holder_id); +CREATE INDEX rf_tv_idx ON refresh_token(token_value); CREATE INDEX at_ahi_idx ON access_token(auth_holder_id); CREATE INDEX aha_oi_idx ON authentication_holder_authority(owner_id); CREATE INDEX ahe_oi_idx ON authentication_holder_extension(owner_id); diff --git a/openid-connect-server-webapp/src/main/resources/db/psql/psql_database_index.sql b/openid-connect-server-webapp/src/main/resources/db/psql/psql_database_index.sql index 2eabf4f57..a641ff821 100644 --- a/openid-connect-server-webapp/src/main/resources/db/psql/psql_database_index.sql +++ b/openid-connect-server-webapp/src/main/resources/db/psql/psql_database_index.sql @@ -6,6 +6,7 @@ CREATE INDEX IF NOT EXISTS at_tv_idx ON access_token(token_value); CREATE INDEX IF NOT EXISTS ts_oi_idx ON token_scope(owner_id); CREATE INDEX IF NOT EXISTS at_exp_idx ON access_token(expiration); CREATE INDEX IF NOT EXISTS rf_ahi_idx ON refresh_token(auth_holder_id); +CREATE INDEX IF NOT EXISTS rf_tv_idx ON refresh_token(token_value); CREATE INDEX IF NOT EXISTS cd_ci_idx ON client_details(client_id); CREATE INDEX IF NOT EXISTS at_ahi_idx ON access_token(auth_holder_id); CREATE INDEX IF NOT EXISTS aha_oi_idx ON authentication_holder_authority(owner_id);