Set correct version for the federated user terms and conditions migration

Closes #27228

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
This commit is contained in:
Stefan Guilhen 2024-03-13 16:57:50 -03:00 committed by Pedro Igor
parent 1788cf2b09
commit 970a78fe7a
3 changed files with 4 additions and 4 deletions

View file

@ -32,7 +32,7 @@ import org.keycloak.models.UserModel;
* *
* @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a> * @author <a href="mailto:sguilhen@redhat.com">Stefan Guilhen</a>
*/ */
public class JpaUpdate25_0_0_FederatedTermsAndConditionsRequiredAction extends CustomKeycloakTask { public class JpaUpdate24_0_2_FederatedTermsAndConditionsRequiredAction extends CustomKeycloakTask {
private static final String TERMS_AND_CONDITION_LEGACY_ALIAS = "terms_and_conditions"; private static final String TERMS_AND_CONDITION_LEGACY_ALIAS = "terms_and_conditions";

View file

@ -17,8 +17,8 @@
--> -->
<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-3.1.xsd"> <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-3.1.xsd">
<changeSet author="keycloak" id="25.0.0-27228"> <changeSet author="keycloak" id="24.0.2-27228">
<customChange class="org.keycloak.connections.jpa.updater.liquibase.custom.JpaUpdate25_0_0_FederatedTermsAndConditionsRequiredAction"/> <customChange class="org.keycloak.connections.jpa.updater.liquibase.custom.JpaUpdate24_0_2_FederatedTermsAndConditionsRequiredAction"/>
</changeSet> </changeSet>
</databaseChangeLog> </databaseChangeLog>

View file

@ -80,6 +80,6 @@
<include file="META-INF/jpa-changelog-22.0.0.xml"/> <include file="META-INF/jpa-changelog-22.0.0.xml"/>
<include file="META-INF/jpa-changelog-23.0.0.xml"/> <include file="META-INF/jpa-changelog-23.0.0.xml"/>
<include file="META-INF/jpa-changelog-24.0.0.xml"/> <include file="META-INF/jpa-changelog-24.0.0.xml"/>
<include file="META-INF/jpa-changelog-25.0.0.xml"/> <include file="META-INF/jpa-changelog-24.0.2.xml"/>
</databaseChangeLog> </databaseChangeLog>