mvn liquibase:diff generates nested constraints nodes in yaml

Description

When running mvn liquibase:diff, the yaml produced contains nested constraints nodes:

databaseChangeLog: - changeSet: id: 1437095251617-1 author: joe (generated) changes: - createTable: columns: - column: autoIncrement: true constraints: constraints: primaryKey: true primaryKeyName: PK_CUSTOMERS name: ID type: BIGINT - column: constraints: constraints: nullable: false name: FIRST_NAME type: VARCHAR(50) - column: constraints: constraints: nullable: false name: LAST_NAME type: VARCHAR(50) tableName: CUSTOMERS

Environment

Apache Maven 3.3.1 (cab6659f9874fa96462afef40fcf6bc033d58c1c; 2015-03-14T06:10:27+10:00)
Maven home: /usr/local/Cellar/maven/3.3.1/libexec
Java version: 1.8.0_25, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_25.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.3", arch: "x86_64", family: "mac"

Attachments

1
  • 17 Jul 2015, 01:18 AM

Activity

Show:

Nathan Voxland March 14, 2016 at 4:41 PM

David B Malkovsky September 22, 2015 at 12:48 PM

This issue appears to be directly related to issues https://liquibase.jira.com/browse/CORE-2277#icft=CORE-2277 and CORE-2056.

Duplicate

Reporter

Components

Affects versions

Priority

Created July 17, 2015 at 1:18 AM
Updated March 14, 2016 at 4:41 PM
Resolved March 14, 2016 at 4:41 PM

Flag notifications