mirror of
https://github.com/corda/corda.git
synced 2024-12-22 06:17:55 +00:00
CORDA-3200 Split migrations as per https://github.com/corda/enterpris… (#5456)
* CORDA-3200 Split migrations as per https://github.com/corda/enterprise/pull/2514/files * CORDA-3200 Additional comment to explain the ordering of migration scripts
This commit is contained in:
parent
a88c519096
commit
aad2e82d07
@ -12,6 +12,10 @@
|
|||||||
<include file="migration/node-core.changelog-v8.xml"/>
|
<include file="migration/node-core.changelog-v8.xml"/>
|
||||||
<include file="migration/node-core.changelog-tx-mapping.xml"/>
|
<include file="migration/node-core.changelog-tx-mapping.xml"/>
|
||||||
<include file="migration/node-core.changelog-v9.xml"/>
|
<include file="migration/node-core.changelog-v9.xml"/>
|
||||||
|
<!-- This migration was originally written within the same script as node-core.changelog-v14-data. However, node-core.changelog-v10
|
||||||
|
runs a service with mapped schema which now has the new table so the table should be created before hand. The transfer of data
|
||||||
|
can then happen later in node-core.changelog-v14-data. -->
|
||||||
|
<include file="migration/node-core.changelog-v14-table.xml"/>
|
||||||
<include file="migration/node-core.changelog-v10.xml"/>
|
<include file="migration/node-core.changelog-v10.xml"/>
|
||||||
<include file="migration/node-core.changelog-v11.xml"/>
|
<include file="migration/node-core.changelog-v11.xml"/>
|
||||||
<include file="migration/node-core.changelog-v12.xml"/>
|
<include file="migration/node-core.changelog-v12.xml"/>
|
||||||
@ -19,7 +23,7 @@
|
|||||||
vault-schema.changelog-v9.xml), as that will use the current hibernate mappings, and those require all DB columns to be
|
vault-schema.changelog-v9.xml), as that will use the current hibernate mappings, and those require all DB columns to be
|
||||||
created. -->
|
created. -->
|
||||||
<include file="migration/node-core.changelog-v13.xml"/>
|
<include file="migration/node-core.changelog-v13.xml"/>
|
||||||
|
<include file="migration/node-core.changelog-v14-data.xml"/>
|
||||||
<!-- This must run after node-core.changelog-init.xml, to prevent database columns being created twice. -->
|
<!-- This must run after node-core.changelog-init.xml, to prevent database columns being created twice. -->
|
||||||
<include file="migration/node-core.changelog-v14.xml"/>
|
|
||||||
<include file="migration/vault-schema.changelog-v9.xml"/>
|
<include file="migration/vault-schema.changelog-v9.xml"/>
|
||||||
</databaseChangeLog>
|
</databaseChangeLog>
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
|
||||||
|
<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.5.xsd"
|
||||||
|
logicalFilePath="migration/node-services.changelog-init.xml">
|
||||||
|
|
||||||
|
<changeSet author="R3.Corda" id="transfer-to-new-persistence-table">
|
||||||
|
<customChange class="net.corda.node.migration.PersistentIdentityMigrationNewTable">
|
||||||
|
</customChange>
|
||||||
|
</changeSet>
|
||||||
|
|
||||||
|
</databaseChangeLog>
|
@ -15,9 +15,4 @@
|
|||||||
</createTable>
|
</createTable>
|
||||||
</changeSet>
|
</changeSet>
|
||||||
|
|
||||||
<changeSet author="R3.Corda" id="transfer-to-new-persistence-table">
|
|
||||||
<customChange class="net.corda.node.migration.PersistentIdentityMigrationNewTable">
|
|
||||||
</customChange>
|
|
||||||
</changeSet>
|
|
||||||
|
|
||||||
</databaseChangeLog>
|
</databaseChangeLog>
|
Loading…
Reference in New Issue
Block a user