From 7f4fb8171052042fe5d271879c2dc6fa5eb3392a Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 13 Mar 2016 11:49:34 +0100 Subject: [PATCH] Install fixes --- Admin/Installer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Admin/Installer.php b/Admin/Installer.php index 7cb2f0b..c343b34 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -75,7 +75,7 @@ class Installer extends InstallerAbstract 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'hr_staff_history` ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'hr_staff_history_ibfk_1` FOREIGN KEY (`hr_staff_history_staff`) REFERENCES `' . $dbPool->get('core')->prefix . 'hr_staff` (`hr_staff_id`), ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'hr_staff_history_ibfk_2` FOREIGN KEY (`hr_staff_history_department`) REFERENCES `' . $dbPool->get('core')->prefix . 'organization_department` (`organization_department_id`), - ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'hr_staff_history_ibfk_3` FOREIGN KEY (`hr_staff_history_position`) REFERENCES `' . $dbPool->get('core')->prefix . 'organization_department` (`organization_position_id`);' + ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'hr_staff_history_ibfk_3` FOREIGN KEY (`hr_staff_history_position`) REFERENCES `' . $dbPool->get('core')->prefix . 'organization_position` (`organization_position_id`);' )->execute(); $dbPool->get('core')->con->prepare(