KEYCLOAK-16844 Create an index to support offline sessions loading

This commit is contained in:
Michito Okai 2021-01-13 09:57:17 +09:00 committed by Hynek Mlnařík
parent 6e9722b446
commit 7f421fb20a

View file

@ -30,4 +30,12 @@
<dropTable tableName="CLIENT_DEFAULT_ROLES" /> <dropTable tableName="CLIENT_DEFAULT_ROLES" />
</changeSet> </changeSet>
<changeSet author="keycloak" id="13.0.0-KEYCLOAK-16844">
<createIndex tableName="OFFLINE_USER_SESSION" indexName="IDX_OFFLINE_USS_PRELOAD">
<column name="OFFLINE_FLAG" type="VARCHAR(4)"/>
<column name="CREATED_ON" type="INT"/>
<column name="USER_SESSION_ID" type="VARCHAR(36)"/>
</createIndex>
</changeSet>
</databaseChangeLog> </databaseChangeLog>