Skip to content

Commit 755ac31

Browse files
authored
Merge branch 'main' into lmendoza/PD-3931
2 parents 03ff2e0 + bd353fe commit 755ac31

3 files changed

Lines changed: 33 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## v2.140.3 - 2026-04-27
2+
3+
[Full Changelog](https://github.com/ORCID/ORCID-Source/compare/v2.140.2...v2.140.3)
4+
15
## v2.140.2 - 2026-04-27
26

37
[Full Changelog](https://github.com/ORCID/ORCID-Source/compare/v2.140.1...v2.140.2)

orcid-persistence/src/main/resources/db-master.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -426,5 +426,6 @@
426426
<include file="/db/updates/add_redirect_uri_metadata_to_client_redirect_uri.xml" />
427427
<include file="/db/updates/add_unsent_notification_partial_index_on_notification.xml" />
428428
<include file="/db/updates/alter_oauth2_authoriziation_code_detail_attributes.xml" />
429+
<include file="/db/updates/add_oauth2_token_detail_lookup_idx.xml" />
429430
<include file="/db/updates/dw_alter_dw_notification_assertion_origin_client.xml" />
430431
</databaseChangeLog>
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<databaseChangeLog
3+
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
4+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
5+
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
6+
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.3.xsd">
7+
8+
<changeSet id="ADD-OAUTH2-TOKEN-DETAIL-LOOKUP-IDX"
9+
author="gwestwood"
10+
dbms="postgresql"
11+
runInTransaction="false">
12+
<preConditions onFail="MARK_RAN">
13+
<not>
14+
<indexExists indexName="oauth2_token_detail_authkey_orcid_client_expiration_idx"
15+
tableName="oauth2_token_detail" />
16+
</not>
17+
</preConditions>
18+
<sql>
19+
CREATE INDEX CONCURRENTLY oauth2_token_detail_authkey_orcid_client_expiration_idx
20+
ON oauth2_token_detail
21+
(authentication_key, user_orcid, client_details_id, token_expiration DESC);
22+
</sql>
23+
<rollback>
24+
<sql>DROP INDEX CONCURRENTLY IF EXISTS oauth2_token_detail_authkey_orcid_client_expiration_idx;</sql>
25+
</rollback>
26+
</changeSet>
27+
28+
</databaseChangeLog>

0 commit comments

Comments
 (0)