Skip to content

Commit

Permalink
pkp/pkp-lib#2493 Port XML-based upgrade to migration
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed Jun 8, 2020
1 parent 1ae4788 commit 432ba1b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 31 deletions.
12 changes: 8 additions & 4 deletions dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,16 @@
<install version="3.2.1.0">
<code function="checkPhpVersion" />

<upgrade minversion="3.2.0.0" maxversion="3.2.0.9">
<data file="dbscripts/xml/upgrade/3.2.1_preupdate_subeditor_categories.xml" />
<upgrade minversion="3.0.0.0" maxversion="3.2.0.9">
<data file="dbscripts/xml/upgrade/3.2.1_update.xml" />
<code function="installEmailTemplate" key="ANNOUNCEMENT" locales="en_US" />
<migration class="lib.pkp.classes.migration.upgrade.v3_2_1SubeditorCategoriesMigration" />
<note file="docs/release-notes/README-3.2.1" />
</upgrade>

<upgrade minversion="3.2.0.0" maxversion="3.2.0.9">
<code function="installEmailTemplate" key="ANNOUNCEMENT" locales="en_US" />
<upgrade minversion="3.0.0.0" maxversion="3.2.9.9">
<migration class="lib.pkp.classes.migration.upgrade.v3_3_0UpgradeMigration" />
<note file="docs/release-notes/README-3.3.0" />
</upgrade>

<!-- update plugin configuration - should be done as the final upgrade task -->
Expand Down
27 changes: 0 additions & 27 deletions dbscripts/xml/upgrade/3.2.1_preupdate_subeditor_categories.xml

This file was deleted.

0 comments on commit 432ba1b

Please sign in to comment.