Skip to content

Commit

Permalink
Merge pull request #641 from liimaorg/issue/550
Browse files Browse the repository at this point in the history
add unique constraint on TAMW_RESOURCECONTEXT for (CONTEXT_ID, RESOURCE_ID)
  • Loading branch information
yvespp authored Feb 7, 2022
2 parents 41527e1 + 870ef4d commit 5d0b2cf
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 5d0b2cf

Please sign in to comment.