File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed
orcid-persistence/src/main/resources Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change 376376 <include file =" /db/updates/create_email_domain_mapping_tables.xml" />
377377 <include file =" /db/updates/create_event_table.xml" />
378378 <include file =" /db/updates/dw_event.xml" />
379+ <include file =" /db/updates/create_event_indexes.xml" />
379380</databaseChangeLog >
Original file line number Diff line number Diff line change 1+ <databaseChangeLog xmlns =" http://www.liquibase.org/xml/ns/dbchangelog"
2+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
3+ xsi : schemaLocation =" http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-2.0.xsd" >
4+
5+ <changeSet id =" EVENT-ORCID-INDEX" author =" Daniel Palafox" >
6+ <preConditions onFail =" MARK_RAN" >
7+ <not >
8+ <indexExists indexName =" event_orcid_index" tableName =" event" />
9+ </not >
10+ </preConditions >
11+ <sql >create index event_orcid_index on event(orcid);</sql >
12+ </changeSet >
13+
14+ <changeSet id =" EVENT-CLIENT-ID-INDEX" author =" Daniel Palafox" >
15+ <preConditions onFail =" MARK_RAN" >
16+ <not >
17+ <indexExists indexName =" event_client_id_index" tableName =" event" />
18+ </not >
19+ </preConditions >
20+ <sql >create index event_client_id_index on event(client_id);</sql >
21+ </changeSet >
22+
23+ <changeSet id =" EVENT-TYPE-INDEX" author =" Daniel Palafox" >
24+ <preConditions onFail =" MARK_RAN" >
25+ <not >
26+ <indexExists indexName =" event_type_index" tableName =" event" />
27+ </not >
28+ </preConditions >
29+ <sql >create index event_type_index on event(event_type);</sql >
30+ </changeSet >
31+ </databaseChangeLog >
You can’t perform that action at this time.
0 commit comments