mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-10 15:32:05 -03:30
Upgrade 24 to 25 fails because db jpa changes drop nonexisting indexes.
Closes #34899 Signed-off-by: vramik <vramik@redhat.com>
This commit is contained in:
parent
9050172448
commit
ebd411b93d
@ -41,10 +41,28 @@
|
||||
<column name="LAST_SESSION_REFRESH" />
|
||||
</createIndex>
|
||||
</changeSet>
|
||||
<changeSet author="keycloak" id="25.0.0-28265-index-cleanup">
|
||||
<changeSet author="keycloak" id="25.0.0-28265-index-cleanup-uss-createdon">
|
||||
<preConditions onFail="MARK_RAN" onSqlOutput="TEST">
|
||||
<indexExists tableName="OFFLINE_USER_SESSION" indexName="IDX_OFFLINE_USS_CREATEDON" />
|
||||
</preConditions>
|
||||
<dropIndex tableName="OFFLINE_USER_SESSION" indexName="IDX_OFFLINE_USS_CREATEDON" />
|
||||
</changeSet>
|
||||
<changeSet author="keycloak" id="25.0.0-28265-index-cleanup-uss-preload">
|
||||
<preConditions onFail="MARK_RAN" onSqlOutput="TEST">
|
||||
<indexExists tableName="OFFLINE_USER_SESSION" indexName="IDX_OFFLINE_USS_PRELOAD" />
|
||||
</preConditions>
|
||||
<dropIndex tableName="OFFLINE_USER_SESSION" indexName="IDX_OFFLINE_USS_PRELOAD" />
|
||||
</changeSet>
|
||||
<changeSet author="keycloak" id="25.0.0-28265-index-cleanup-uss-by-usersess">
|
||||
<preConditions onFail="MARK_RAN" onSqlOutput="TEST">
|
||||
<indexExists tableName="OFFLINE_USER_SESSION" indexName="IDX_OFFLINE_USS_BY_USERSESS" />
|
||||
</preConditions>
|
||||
<dropIndex tableName="OFFLINE_USER_SESSION" indexName="IDX_OFFLINE_USS_BY_USERSESS" />
|
||||
</changeSet>
|
||||
<changeSet author="keycloak" id="25.0.0-28265-index-cleanup-css-preload">
|
||||
<preConditions onFail="MARK_RAN" onSqlOutput="TEST">
|
||||
<indexExists tableName="OFFLINE_CLIENT_SESSION" indexName="IDX_OFFLINE_CSS_PRELOAD" />
|
||||
</preConditions>
|
||||
<dropIndex tableName="OFFLINE_CLIENT_SESSION" indexName="IDX_OFFLINE_CSS_PRELOAD" />
|
||||
</changeSet>
|
||||
<changeSet author="keycloak" id="25.0.0-28265-index-2-mysql">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user