Quantcast
Channel: Liquibase Forums
Viewing all articles
Browse latest Browse all 2993

generateChangeLog creating two constraint lines in yml

$
0
0
When running the generateChangeLog command with a changelog file that is .yml each constraint is showing up with the tag constraints: twice so when you try and run an update it doesn't pick up the constraints.  Is there a certain way we should be running this to avoid the problem?  Should it be 
constraints: 
   constraint: 
like 
columns: 
    column: ??

Here is a snippet of what it gives:

    - createTable:
        columns:
        - column:
            autoIncrement: true
            constraints:
              constraints:
                primaryKey: true
            name: EnvironmentID
            type: INT

Viewing all articles
Browse latest Browse all 2993

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>