Feature #4494

Upgrade arUpgradeSqlTask to decouple major version sql upgrades

Added by Jesús García Crespo over 9 years ago. Updated over 8 years ago.

Status:VerifiedStart date:12/21/2012
Priority:MediumDue date:
Assignee:Jesús García Crespo% Done:

100%

Category:Migration taskEstimated time:8.00 hours
Target version:Release 2.1.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

AtoM 1.3 was our last release before the 2.x fork (db version 92). As we are maintaining the 1.x branch, our upgrade task (see lib/task/migrate, specially arUpgradeSqlTask.class.php) should be able to pick the corresponding upgrades for each user. Three user cases:

  • 1.x users upgrading to 1.x: db upgrades targetting only 2.x will be ignored
  • 2.x users upgrading to 2.x: any upgrade available is applied, we are not planning to introduce specific 1.x upgrades.
  • 1.x users upgrading to 2.x: before the new upgrades are applied, we should go back and apply these 2.x upgrades that were ignored.

That means that 2.x-only upgrades may be applied against different db schemas.


                   ___93__94______96__97________...  1.x
                  /   ··  ··      ··  ··
                 /    ··  ··      ··  ··
90 - 91 - 92 - FORK   ··  ··      ··  ··
          |      \    ··  ··      ··  ··
          |       \___93__94__95__96__97__98__99...  2.x
          |

     [Release 1.3]


Related issues

Related to Access to Memory (AtoM) - Bug #5492: Task tools:upgrade-sql doesn't seem to work properly Verified 08/21/2013

History

#1 Updated by Jesús García Crespo over 9 years ago

  • Description updated (diff)

#2 Updated by Jesús García Crespo over 9 years ago

  • Description updated (diff)

#3 Updated by Jesús García Crespo over 9 years ago

  • Description updated (diff)

#4 Updated by Jesús García Crespo over 9 years ago

  • Description updated (diff)

#5 Updated by Jesús García Crespo over 9 years ago

  • Description updated (diff)

#6 Updated by Jesús García Crespo over 9 years ago

  • Status changed from New to QA/Review
  • % Done changed from 0 to 100

Applied in changeset atom|commit:043ff0819725dd7275849722e274d35cf66ed49f.

#7 Updated by Jesús García Crespo over 9 years ago

  • Estimated time changed from 6.00 to 8.00

#8 Updated by Anonymous about 9 years ago

Applied in changeset archivematica-fpr-server:artefactual-fpr-server|commit:043ff0819725dd7275849722e274d35cf66ed49f.

#9 Updated by Jesús García Crespo over 8 years ago

  • Status changed from QA/Review to Verified

Also available in: Atom PDF