Skip to content

Commit

Permalink
dev: changing db-version number to prevent conflicts when merging int…
Browse files Browse the repository at this point in the history
…o master
  • Loading branch information
Trischi80 committed Apr 23, 2021
1 parent a7fffe2 commit b9cc063
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.4.13';
$config['dbversionnumber'] = 442;
$config['dbversionnumber'] = 445;
$config['buildnumber'] = '';
$config['updatable'] = true;
$config['templateapiversion'] = 3;
Expand Down
4 changes: 2 additions & 2 deletions application/helpers/update/updatedb_helper.php
Expand Up @@ -3757,7 +3757,7 @@ function ($v) {
$oTransaction->commit();
}

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

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

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

0 comments on commit b9cc063

Please sign in to comment.