From 707283d0034dd4f264eb2277abdaf3ef39ad5083 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 3 Sep 2017 20:24:57 +0200 Subject: [PATCH] Add auditor module --- Admin/Installer.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Admin/Installer.php b/Admin/Installer.php index fa956da..a2c5516 100644 --- a/Admin/Installer.php +++ b/Admin/Installer.php @@ -52,7 +52,6 @@ class Installer extends InstallerAbstract `comments_comment_id` int(11) NOT NULL AUTO_INCREMENT, `comments_comment_title` varchar(250) NOT NULL, `comments_comment_content` text NOT NULL, - `comments_comment_lang` varchar(2) NOT NULL, `comments_comment_list` int(11) NOT NULL, `comments_comment_ref` int(11) DEFAULT NULL, `comments_comment_created_at` datetime NOT NULL, @@ -64,7 +63,7 @@ class Installer extends InstallerAbstract )->execute(); $dbPool->get('core')->con->prepare( - 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'editor` + 'ALTER TABLE `' . $dbPool->get('core')->prefix . 'comments_comment` ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'comments_comment_ibfk_1` FOREIGN KEY (`comments_comment_list`) REFERENCES `' . $dbPool->get('core')->prefix . 'comments_list` (`comments_list_id`), ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'comments_comment_ibfk_2` FOREIGN KEY (`comments_comment_ref`) REFERENCES `' . $dbPool->get('core')->prefix . 'comments_comment` (`comments_comment_id`), ADD CONSTRAINT `' . $dbPool->get('core')->prefix . 'comments_comment_ibfk_3` FOREIGN KEY (`comments_comment_created_by`) REFERENCES `' . $dbPool->get('core')->prefix . 'account` (`account_id`);'