-
Notifications
You must be signed in to change notification settings - Fork 15
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
Showing
8 changed files
with
52 additions
and
27 deletions.
There are no files selected for viewing
13 changes: 7 additions & 6 deletions
13
registry-persistence/src/main/resources/liquibase/144-mdt-endpoint-installation-types.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
14 changes: 6 additions & 8 deletions
14
registry-persistence/src/main/resources/liquibase/145-contact-salutation.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 |
---|---|---|
@@ -1,13 +1,11 @@ | ||
<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"> | ||
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="143" author="mpodolskiy"> | ||
<sql splitStatements="false" stripComments="false"> | ||
<![CDATA[ | ||
ALTER TABLE contact ADD COLUMN salutation text; | ||
]]> | ||
<changeSet id="145" author="mpodolskiy"> | ||
<sql> | ||
ALTER TABLE contact ADD COLUMN salutation TEXT; | ||
</sql> | ||
</changeSet> | ||
</databaseChangeLog> |
25 changes: 25 additions & 0 deletions
25
registry-persistence/src/main/resources/liquibase/146-function-search-paths.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,25 @@ | ||
<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"> | ||
|
||
<!-- Set the search paths to public. For security, VACUUM uses an empty search path and fails otherwise. | ||
https://stackoverflow.com/questions/65237130/getting-function-does-not-exist-error-in-vacuumdb --> | ||
<changeSet id="146" author="mblissett"> | ||
<sql> | ||
ALTER FUNCTION collection_change_trigger SET search_path = public; | ||
ALTER FUNCTION collection_contact_change_trigger SET search_path = public; | ||
ALTER FUNCTION collection_descriptor_change_trigger SET search_path = public; | ||
ALTER FUNCTION collection_descriptor_group_change_trigger SET search_path = public; | ||
ALTER FUNCTION collection_descriptor_verbatim_change_trigger SET search_path = public; | ||
ALTER FUNCTION contact_change_trigger SET search_path = public; | ||
ALTER FUNCTION dataset_change_trigger SET search_path = public; | ||
ALTER FUNCTION installation_change_trigger SET search_path = public; | ||
ALTER FUNCTION institution_change_trigger SET search_path = public; | ||
ALTER FUNCTION network_change_trigger SET search_path = public; | ||
ALTER FUNCTION node_change_trigger SET search_path = public; | ||
ALTER FUNCTION organization_change_trigger SET search_path = public; | ||
ALTER FUNCTION normalize_name SET search_path = public; | ||
</sql> | ||
</changeSet> | ||
</databaseChangeLog> |
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
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
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
8 changes: 4 additions & 4 deletions
8
...uibase/149-similar-name-list-function.xml → ...uibase/150-similar-name-list-function.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
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