Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2533

Create the new migrations engine

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.3
    • Component/s: Framework

      Description

      The new migration engine will be executed at startup before everything else.
      It will read the current database version and detect the targeted database version.
      It will dynamically import all the Migrations class that will need to be applied.
      It will execute the upgrade and downgrade methods depending on the case.
      It will raise an exception if one of the migrations fails and rollback the database to it's previous state.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week
                  1w