Skip to content

Commit

Permalink
QA: Fix: #5389 and Fix: #5979 - Missing Table
Browse files Browse the repository at this point in the history
* The enhancement #5389 did not add the create syntax to the upgrade script.
  • Loading branch information
TheWitness committed Dec 9, 2024
1 parent 373bd01 commit b5a119e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions install/upgrades/1_3_0.php
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,14 @@ function upgrade_to_1_3_0() {
$data['row_format'] = 'Dynamic';
db_update_table('host_template', $data);

db_execute("CREATE TABLE IF NOT EXISTS `user_auth_reset_hashes` (
`user_id` int(10) unsigned NOT NULL default '0',
`hash` varchar(100) NOT NULL default '',
`expiry` timestamp NOT NULL default '0000-00-00 00:00:00',
PRIMARY KEY (`user_id`,`expiry`))
ENGINE=InnoDB
ROW_FORMAT=Dynamic
COMMENT='Table that Contains User Password Reset Hashes'");
}

function ldap_convert_1_3_0() {
Expand Down

0 comments on commit b5a119e

Please sign in to comment.