Created
November 29, 2017 09:37
-
-
Save mks-d/ed1b864645acb88e4cfc87e7f5a9cc96 to your computer and use it in GitHub Desktop.
Liquibase changesets for renaming complex data handlers of Attachments
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
<?xml version="1.0" encoding="UTF-8"?> | |
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog/1.9" | |
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog/1.9 | |
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-1.9.xsd"> | |
<!-- | |
See http://www.liquibase.org/manual/home#available_database_refactorings | |
for a list of supported elements and attributes | |
--> | |
<changeSet id="2.0.0-001" author="mks-d"> | |
<comment>Renamed 'DefaultDocumentHandler' to 'DefaultAttachmentHandler'.</comment> | |
<update tableName="concept_complex"> | |
<column name="handler" value="DefaultAttachmentHandler"></column> | |
<where>handler ='DefaultDocumentHandler'</where> | |
</update> | |
</changeSet> | |
<changeSet id="2.0.0-002" author="mks-d"> | |
<comment>Renamed 'ImageDocumentHandler' to 'ImageAttachmentHandler'.</comment> | |
<update tableName="concept_complex"> | |
<column name="handler" value="ImageAttachmentHandler"></column> | |
<where>handler ='ImageDocumentHandler'</where> | |
</update> | |
</changeSet> | |
</databaseChangeLog> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment