Skip to content

Commit

Permalink
3.0.10
Browse files Browse the repository at this point in the history
Issue #3700 - set default null during upgrade process
  • Loading branch information
nilsteampassnet committed Nov 13, 2023
1 parent 2f09299 commit e2329ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion includes/config/include.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*/
define('TP_VERSION', '3.0.10');
define("UPGRADE_MIN_DATE", "1697990713");
define('TP_VERSION_MINOR', '125');
define('TP_VERSION_MINOR', '126');
define('TP_TOOL_NAME', 'Teampass');
define('TP_ONE_DAY_SECONDS', 86400);
define('TP_ONE_WEEK_SECONDS', 604800);
Expand Down
9 changes: 9 additions & 0 deletions install/upgrade_run_3.0.php
Original file line number Diff line number Diff line change
Expand Up @@ -627,6 +627,15 @@
exit();
}

// Alter psk field in users
try {
mysqli_query(
$db_link,
'ALTER TABLE `' . $pre . 'users` CHANGE `psk` `psk` VARCHAR(400) NULL DEFAULT NULL;'
);
} catch (Exception $e) {
// Do nothing
}

//---<END 3.0.10

Expand Down

0 comments on commit e2329ee

Please sign in to comment.