migrate fix
This commit is contained in:
parent
126dd70efc
commit
26411a123e
1 changed files with 7 additions and 2 deletions
|
@ -69,7 +69,6 @@
|
|||
</createIndex>
|
||||
|
||||
<!-- Modify OFFLINE_CLIENT_SESSION -->
|
||||
<dropPrimaryKey tableName="OFFLINE_CLIENT_SESSION" constraintName="CONSTRAINT_OFFL_CL_SES_PK3"/>
|
||||
<addColumn tableName="OFFLINE_CLIENT_SESSION">
|
||||
<column name="CLIENT_STORAGE_PROVIDER" type="VARCHAR(36)" defaultValue="local">
|
||||
<constraints nullable="false"/>
|
||||
|
@ -78,7 +77,13 @@
|
|||
<constraints nullable="false"/>
|
||||
</column>
|
||||
</addColumn>
|
||||
<modifyDataType tableName="OFFLINE_CLIENT_SESSION" columnName="CLIENT_ID" newDataType="VARCHAR(255)"/>
|
||||
<update tableName="OFFLINE_CLIENT_SESSION">
|
||||
<column name="CLIENT_STORAGE_PROVIDER" value="local"/>
|
||||
</update>
|
||||
<update tableName="EXTERNAL_CLIENT_ID">
|
||||
<column name="EXTERNAL_CLIENT_ID" value="local"/>
|
||||
</update>
|
||||
<dropPrimaryKey tableName="OFFLINE_CLIENT_SESSION" constraintName="CONSTRAINT_OFFL_CL_SES_PK3"/>
|
||||
<addPrimaryKey columnNames="USER_SESSION_ID,CLIENT_ID, CLIENT_STORAGE_PROVIDER, EXTERNAL_CLIENT_ID, OFFLINE_FLAG" constraintName="CONSTRAINT_OFFL_CL_SES_PK3" tableName="OFFLINE_CLIENT_SESSION"/>
|
||||
|
||||
</changeSet>
|
||||
|
|
Loading…
Reference in a new issue