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

New flags for ForeignKeys, index names and dropping tables

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • 1.3
    • None

    Description

      This patch contains changes for issues in DdlUtils-176 and DdlUtils-177. The main addition was to provide a flag that would change checking for the names of foreign keys or the names of indexes when comparing the two. For foreign keys, if the PlatformImplBase.setForeignKeyNameMatters is set to false, and tables were the same and the columns indexed were the same, then the foreign keys would be considered the same. Similarly, for Indexes, id the PlatformImplBase.setIndexNameMatters is set to false, then if the columns match and are in the same order, then the index is considered the same. Both these flags default to true to preserve how the code operated now.

      Attachments

        1. ForeignKeyNameMatters.patch
          23 kB
          Brian Devaney

        Issue Links

          Activity

            People

              tomdz Thomas Dudziak
              bdevaney Brian Devaney
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: