mirror of
https://github.com/corda/corda.git
synced 2025-01-11 15:32:49 +00:00
Merge pull request #3845 from corda/feature/ent-2253-rename-colun-name
Database column rename required by ENT-2253
This commit is contained in:
commit
8b0fc8f29c
@ -72,6 +72,7 @@ object NodeInfoSchemaV1 : MappedSchema(
|
|||||||
@GeneratedValue
|
@GeneratedValue
|
||||||
@Column(name = "hosts_id", nullable = false)
|
@Column(name = "hosts_id", nullable = false)
|
||||||
var id: Int,
|
var id: Int,
|
||||||
|
@Column(name = "host_name")
|
||||||
val host: String? = null,
|
val host: String? = null,
|
||||||
val port: Int? = null
|
val port: Int? = null
|
||||||
) {
|
) {
|
||||||
|
@ -7,5 +7,6 @@
|
|||||||
<include file="migration/node-info.changelog-init.xml"/>
|
<include file="migration/node-info.changelog-init.xml"/>
|
||||||
<include file="migration/node-info.changelog-v1.xml"/>
|
<include file="migration/node-info.changelog-v1.xml"/>
|
||||||
<include file="migration/node-info.changelog-v2.xml"/>
|
<include file="migration/node-info.changelog-v2.xml"/>
|
||||||
|
<include file="migration/node-info.changelog-v3.xml"/>
|
||||||
|
|
||||||
</databaseChangeLog>
|
</databaseChangeLog>
|
||||||
|
@ -0,0 +1,9 @@
|
|||||||
|
<?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">
|
||||||
|
|
||||||
|
<changeSet author="R3.Corda" id="column_host_name">
|
||||||
|
<renameColumn newColumnName="host_name" oldColumnName="host" tableName="node_info_hosts"/>
|
||||||
|
</changeSet>
|
||||||
|
</databaseChangeLog>
|
Loading…
Reference in New Issue
Block a user