Skip to content

Commit

Permalink
pkp/pkp-lib#10571 Add db install and upgrade scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
taslangraham committed Nov 25, 2024
1 parent ef4fa4e commit 5421dad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dbscripts/xml/install.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Installation descriptor file.
-->

<install version="3.5.0.0">
<install version="3.6.0.0">
<code function="checkPhpVersion" />

<code function="createDirectories" />
Expand Down Expand Up @@ -49,6 +49,7 @@
<migration class="APP\migration\install\MetricsMigration" />

<migration class="APP\migration\install\SeriesCategoriesMigration" />
<migration class="PKP\migration\install\EmailTemplateUserGroupAccessMigration"/>

<code function="createData" />
<code function="createConfig" />
Expand Down
6 changes: 5 additions & 1 deletion dbscripts/xml/upgrade.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Upgrade descriptor file.
-->

<install version="3.5.0.0">
<install version="3.6.0.0">
<code function="checkPhpVersion" />

<upgrade minversion="0.9.9.0" maxversion="3.2.9.9">
Expand Down Expand Up @@ -143,6 +143,10 @@
<migration class="APP\migration\upgrade\v3_5_0\I10561_OnixFilter"/>
</upgrade>

<upgrade minversion="3.5.0.0" maxversion="3.5.9.9">
<migration class="PKP\migration\upgrade\v3_6_0\PreflightCheckMigration" fallback="3.5.9.9" />
<migration class="PKP\migration\upgrade\v3_6_0\I10403_EmailTemplateUserGroupAccess"/>
</upgrade>
<!-- Update plugin configuration - should be done as the final upgrade task -->
<code function="addPluginVersions" />
</install>

0 comments on commit 5421dad

Please sign in to comment.