upgrade.php: add a section for 0.20.14
authorDenis Ovsienko <denis@ovsienko.info>
Tue, 16 May 2017 11:59:49 +0000 (12:59 +0100)
committerDenis Ovsienko <denis@ovsienko.info>
Tue, 16 May 2017 11:59:49 +0000 (12:59 +0100)
wwwroot/inc/upgrade.php

index 90d474f7ccf7239e888004d2c22724e12522c08e..312e45afa49a5182bf9293c0ef33f0e5f7bd8fd3 100644 (file)
@@ -191,6 +191,7 @@ function getDBUpgradePath ($v1, $v2)
                '0.20.11',
                '0.20.12',
                '0.20.13',
+               '0.20.14',
        );
        if (! in_array ($v1, $versionhistory) || ! in_array ($v2, $versionhistory))
                return NULL;
@@ -1222,6 +1223,9 @@ ENDOFTRIGGER;
                        $query[] = "DROP TRIGGER IF EXISTS `Port-before-update`";
                        $query[] = "UPDATE Config SET varvalue = '0.20.13' WHERE varname = 'DB_VERSION'";
                        break;
+               case '0.20.14':
+                       $query[] = "UPDATE Config SET varvalue = '0.20.14' WHERE varname = 'DB_VERSION'";
+                       break;
                case 'dictionary':
                        $query = reloadDictionary();
                        break;