-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b8677dc
commit 7d57d0e
Showing
2 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 22 additions & 0 deletions
22
orcid-persistence/src/main/resources/db/updates/add_indexes_2024_02_20.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd"> | ||
|
||
<changeSet id="event_date_created_idx" author="amontenegro"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<indexExists indexName="event_date_created_idx" tableName="event" /> | ||
</not> | ||
</preConditions> | ||
<sql>create index event_date_created_idx ON event (date_created);</sql> | ||
</changeSet> | ||
<changeSet id="oauth2_token_detail_last_modified_idx" author="amontenegro"> | ||
<preConditions onFail="MARK_RAN"> | ||
<not> | ||
<indexExists indexName="oauth2_token_detail_last_modified_idx" tableName="oauth2_token_detail" /> | ||
</not> | ||
</preConditions> | ||
<sql>create index oauth2_token_detail_last_modified_idx ON oauth2_token_detail (last_modified);</sql> | ||
</changeSet> | ||
|
||
</databaseChangeLog> |