File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
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' " );
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+ }
You can’t perform that action at this time.
0 commit comments