Skip to content

Commit

Permalink
dev: changed db-versionnumber to not get conflicts with master db-ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
Trischi80 committed May 11, 2021
1 parent 4e3e7ad commit 7586917
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application/config/version.php
Expand Up @@ -12,7 +12,7 @@
*/

$config['versionnumber'] = '4.5.2';
$config['dbversionnumber'] = 445;
$config['dbversionnumber'] = 447;
$config['buildnumber'] = '';
$config['updatable'] = true;
$config['templateapiversion'] = 3;
Expand Down
4 changes: 2 additions & 2 deletions application/helpers/update/updatedb_helper.php
Expand Up @@ -3807,7 +3807,7 @@ function ($v) {
$oTransaction->commit();
}

if ($iOldDBVersion < 445) {
if ($iOldDBVersion < 447) {
$oTransaction = $oDB->beginTransaction();

$oDB->createCommand()->addColumn('{{users}}', 'validation_key', 'string(38)');
Expand All @@ -3831,7 +3831,7 @@ function ($v) {
);
}

$oDB->createCommand()->update('{{settings_global}}', array('stg_value' => 445), "stg_name='DBVersion'");
$oDB->createCommand()->update('{{settings_global}}', array('stg_value' => 447), "stg_name='DBVersion'");
$oTransaction->commit();
}
} catch (Exception $e) {
Expand Down

0 comments on commit 7586917

Please sign in to comment.