Skip to content

Commit 5f0d6f5

Browse files
committed
Fixes #920
(cherry picked from commit 26b5c4a2b4e206ef72f6962ab0cf582ee68d7f28)
1 parent 780160c commit 5f0d6f5

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

sql/updates/62.php

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22

33
/*
4-
* sql/updates/79.php
4+
* sql/updates/62.php
55
* Add hrperfcriteriascores table and appraisal fields for Phase 1 of Issue #918
66
*/
77

@@ -22,7 +22,7 @@
2222
UNIQUE KEY `unique_appraisal_criteria` (`appraisalid`, `criteriaid`),
2323
KEY `idx_appraisal` (`appraisalid`),
2424
KEY `idx_criteria` (`criteriaid`)
25-
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;");
25+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci");
2626

2727
/* Add optional performancetemplateid to hrperfappraisals if missing */
2828
$Result = DB_query("SHOW COLUMNS FROM `hrperfappraisals` LIKE 'performancetemplateid'");
@@ -39,3 +39,7 @@
3939
$ErrMsg = __('Adding calculatedoverallrating to hrperfappraisals failed');
4040
$Result = DB_query($SQL, $ErrMsg);
4141
}
42+
43+
if ($_SESSION['Updates']['Errors'] == 0) {
44+
UpdateDBNo(basename(__FILE__, '.php'), __('Add hrperfcriteriascores table and appraisal fields for Phase 1 of Issue #918'));
45+
}

0 commit comments

Comments
 (0)