issue keycloak/keycloak#30300
Signed-off-by: Nicola Beghin <nicolabeghin@gmail.com>
This commit is contained in:
parent
9cc4cf40ca
commit
5192275780
1 changed files with 5 additions and 5 deletions
|
@ -118,10 +118,7 @@
|
||||||
|
|
||||||
<changeSet author="keycloak" id="unique-consentuser">
|
<changeSet author="keycloak" id="unique-consentuser">
|
||||||
<preConditions onSqlOutput="TEST" onFail="MARK_RAN">
|
<preConditions onSqlOutput="TEST" onFail="MARK_RAN">
|
||||||
<or>
|
<dbms type="postgresql"/>
|
||||||
<dbms type="mariadb"/>
|
|
||||||
<dbms type="postgresql"/>
|
|
||||||
</or>
|
|
||||||
</preConditions>
|
</preConditions>
|
||||||
<customChange class="org.keycloak.connections.jpa.updater.liquibase.custom.JpaUpdate25_0_0_ConsentConstraints"/>
|
<customChange class="org.keycloak.connections.jpa.updater.liquibase.custom.JpaUpdate25_0_0_ConsentConstraints"/>
|
||||||
<dropUniqueConstraint tableName="USER_CONSENT" constraintName="UK_JKUWUVD56ONTGSUHOGM8UEWRT"/>
|
<dropUniqueConstraint tableName="USER_CONSENT" constraintName="UK_JKUWUVD56ONTGSUHOGM8UEWRT"/>
|
||||||
|
@ -131,7 +128,10 @@
|
||||||
|
|
||||||
<changeSet author="keycloak" id="unique-consentuser-mysql">
|
<changeSet author="keycloak" id="unique-consentuser-mysql">
|
||||||
<preConditions onSqlOutput="TEST" onFail="MARK_RAN">
|
<preConditions onSqlOutput="TEST" onFail="MARK_RAN">
|
||||||
<dbms type="mysql"/>
|
<or>
|
||||||
|
<dbms type="mysql"/>
|
||||||
|
<dbms type="mariadb"/>
|
||||||
|
</or>
|
||||||
</preConditions>
|
</preConditions>
|
||||||
<customChange class="org.keycloak.connections.jpa.updater.liquibase.custom.JpaUpdate25_0_0_MySQL_ConsentConstraints"/>
|
<customChange class="org.keycloak.connections.jpa.updater.liquibase.custom.JpaUpdate25_0_0_MySQL_ConsentConstraints"/>
|
||||||
<dropUniqueConstraint tableName="USER_CONSENT" constraintName="UK_JKUWUVD56ONTGSUHOGM8UEWRT"/>
|
<dropUniqueConstraint tableName="USER_CONSENT" constraintName="UK_JKUWUVD56ONTGSUHOGM8UEWRT"/>
|
||||||
|
|
Loading…
Reference in a new issue