Uploaded image for project: 'DdlUtils'
  1. DdlUtils
  2. DDLUTILS-135

mergeWith in Database needs to handle existing tables correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0
    • 1.3
    • None
    • MySQL

    Description

      mergeWith in Database.java throws a ModelException if the target database already contains a table described in the source (additional) model.
      The correct behavior would compare the existing table and the new description and add columns, keys and indexes to the target if necessary (note that for all practical purposes existing columns/indexes etc. should NOT be removed)

      Attachments

        1. DdlUtils-135-patch.txt
          6 kB
          Hajo Birthelmer

        Activity

          People

            tomdz Thomas Dudziak
            hajo@bluesunrise.com Hajo Birthelmer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: