DdlUtils
  1. DdlUtils
  2. DDLUTILS-215

Allow custom ModelChanges for altering a database

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0
    • Fix Version/s: 1.3
    • Labels:
      None

      Description

      The Platform interface allows for upgrading a database from one model to another using the getAlterModelSql() method. This method tries to automatically convert from one model to another. In some cases it may be useful to allow the caller to provide for the changes that should be processed instead of automatically determining the changes.

      I'm attaching a patch that makes the PlatformImplBase.processChanges() method available on the Platform interface, thereby allow the caller to apply a custom list of changes. Next to that, the patch introduces the CustomChange interface, through which the caller can define custom changes (e.g.: executing custom SQL statements).

      This patch may also fix #DDLUTILS-213

        Issue Links

          Activity

          Rick Riemer created issue -
          Rick Riemer made changes -
          Field Original Value New Value
          Attachment add_custom_change_capability.patch [ 12386289 ]
          Rick Riemer made changes -
          Link This issue relates to DDLUTILS-213 [ DDLUTILS-213 ]
          Rick Riemer made changes -
          Link This issue is related to DDLUTILS-216 [ DDLUTILS-216 ]
          Rick Riemer made changes -
          Link This issue is depended upon by DDLUTILS-218 [ DDLUTILS-218 ]
          Thomas Dudziak made changes -
          Fix Version/s 1.1 [ 12311984 ]
          Fix Version/s 1.3 [ 12313497 ]

            People

            • Assignee:
              Thomas Dudziak
              Reporter:
              Rick Riemer
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:

                Development