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

Allow custom ModelChanges for altering a database

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.0
    • 1.3
    • 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

      Attachments

        Issue Links

          Activity

            People

              tomdz Thomas Dudziak
              ricqr Rick Riemer
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated: