Skip to content

Commit

Permalink
add unique constraint on TAMW_RESOURCECONTEXT for (CONTEXT_ID, RESOUR…
Browse files Browse the repository at this point in the history
…CE_ID)
  • Loading branch information
yvespp committed Jan 27, 2022
1 parent 41527e1 commit 870ef4d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,4 +100,7 @@
<!--1.17.13-->
<include file="changesets/model/addIndexes/addDeploymentIndex_03.xml" relativeToChangelogFile="true"/>

<!--1.17.26-->
<include file="changesets/model/refactoring/#550_add_resourcecontext_unique_constraint.xml" relativeToChangelogFile="true"/>

</databaseChangeLog>
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<databaseChangeLog logicalFilePath="liquibase/changesets/model/refactoring/#550_add_resourcecontext_unique_constraint.xml"
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-3.1.xsd">
<!-- prevent https://github.com/liimaorg/liima/issues/550 -->
<changeSet author="yvespp" id="#550_add_resourcecontext_unique_constraint.xml">
<addUniqueConstraint tableName="TAMW_RESOURCECONTEXT" columnNames="CONTEXT_ID, RESOURCE_ID"/>
</changeSet>

</databaseChangeLog>
Binary file not shown.

0 comments on commit 870ef4d

Please sign in to comment.