Skip to content

Commit

Permalink
grscicoll lookup indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
marcos-lg committed Aug 26, 2024
1 parent f48e125 commit d010a18
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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="138" author="auzun" runInTransaction="false">
<changeSet id="141" author="auzun" runInTransaction="false">
<sql splitStatements="false" stripComments="true">
<![CDATA[
ALTER TABLE change_suggestion ADD COLUMN ih_identifier TEXT;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<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="142" author="mlopez" runInTransaction="false">
<sql splitStatements="false" stripComments="true">
<![CDATA[
CREATE INDEX identifier_type_idx ON identifier(type);
CREATE INDEX institution_alt_codes_idx ON institution USING gin(alternative_codes);
CREATE INDEX collection_alt_codes_idx ON collection USING gin(alternative_codes);
]]>
</sql>
</changeSet>
</databaseChangeLog>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
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="140" author="mpodolskiy">
<changeSet id="143" author="mpodolskiy">
<sql splitStatements="false" stripComments="false">
<![CDATA[
ALTER TABLE contact ADD COLUMN salutation text;
Expand Down
3 changes: 2 additions & 1 deletion registry-persistence/src/main/resources/liquibase/master.xml
Original file line number Diff line number Diff line change
Expand Up @@ -147,5 +147,6 @@
<include file="liquibase/139-dataset-occurrence-download-created-index.xml" />
<include file="liquibase/140-collection-descriptors-grscicoll.xml" />
<include file="liquibase/141-ih-identifier-change-sugestion.xml" />
<include file="liquibase/142-contact-salutation.xml" />
<include file="liquibase/142-grscicoll_lookup_indexes.xml" />
<include file="liquibase/143-contact-salutation.xml" />
</databaseChangeLog>

0 comments on commit d010a18

Please sign in to comment.