Add SQL indexes for PostgreSQL and HSQLDB

pull/925/merge
Mark Janssen 9 years ago committed by Justin Richer
parent 0269c24263
commit 9117e7fe31

@ -356,3 +356,10 @@ CREATE TABLE IF NOT EXISTS saved_registered_client (
issuer VARCHAR(1024),
registered_client VARCHAR(8192)
);
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 cd_ci_idx ON client_details(client_id);

@ -356,3 +356,10 @@ CREATE TABLE IF NOT EXISTS saved_registered_client (
issuer VARCHAR(1024),
registered_client VARCHAR(8192)
);
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 cd_ci_idx ON client_details(client_id);
Loading…
Cancel
Save