Skip to content

Commit

Permalink
Do not run changeset if comlumn already exists
Browse files Browse the repository at this point in the history
Closes keycloak#35290

Signed-off-by: Pedro Igor <[email protected]>
  • Loading branch information
pedroigor committed Dec 2, 2024
1 parent c5426ed commit 20a5199
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
<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="26.0.6-34013">
<preConditions onFail="MARK_RAN">
<not>
<columnExists tableName="ADMIN_EVENT_ENTITY" columnName="DETAILS_JSON" />
</not>
</preConditions>
<addColumn tableName="ADMIN_EVENT_ENTITY">
<column name="DETAILS_JSON" type="NCLOB" />
</addColumn>
Expand Down

0 comments on commit 20a5199

Please sign in to comment.