Uploaded image for project: 'Gateway'
  1. Gateway
  2. GTWY-1637

liquibase vs Liquibase Directory Name Breaks liquibase-tasks.ant.xml Tasks

XMLWordPrintable

    • Icon: Defect Defect
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.1.1
    • 1.1.0
    • Database
    • None

      Two issues here.

      If we leave the directory as UPPER CASE Liquibase the compile task in the liquibase-tasks.ant.xml file fails.

      If we change the directory to the lower case liquibase the liquibase changesets fail because all the changesets are run again by liquibase. This occurs because the directory name of the changeset is recorded in the liquibase databasechangelog table and is part of the unique identifier for a changeset. So when the liquibase update task in liquibase-tasks.ant.xml is run the first changeset (20100112-GTWY-1124) gets run again and fails due to a duplicate key constraint.

              wilhelmi Nathan Wilhelmi (Inactive)
              nhook Nathan Hook
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: