From d2f0c87d8f1c410a656db9669fdcd317054aa58d Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 8 Dec 2018 11:41:08 +0100 Subject: [PATCH] FIX Removed not use table --- .../install/mysql/migration/7.0.0-8.0.0.sql | 1 + .../mysql/tables/llx_ticket_logs.key.sql | 17 ------------- .../install/mysql/tables/llx_ticket_logs.sql | 25 ------------------- 3 files changed, 1 insertion(+), 42 deletions(-) delete mode 100755 htdocs/install/mysql/tables/llx_ticket_logs.key.sql delete mode 100755 htdocs/install/mysql/tables/llx_ticket_logs.sql diff --git a/htdocs/install/mysql/migration/7.0.0-8.0.0.sql b/htdocs/install/mysql/migration/7.0.0-8.0.0.sql index 1a7cfd58410..057d42f3d13 100644 --- a/htdocs/install/mysql/migration/7.0.0-8.0.0.sql +++ b/htdocs/install/mysql/migration/7.0.0-8.0.0.sql @@ -568,3 +568,4 @@ ALTER TABLE llx_advtargetemailing ADD COLUMN type_element varchar(180) NOT NULL; UPDATE llx_advtargetemailing SET fk_element = fk_mailing, type_element='mailing'; ALTER TABLE llx_advtargetemailing DROP COLUMN fk_mailing; +DROP TABLE llx_ticket_logs; diff --git a/htdocs/install/mysql/tables/llx_ticket_logs.key.sql b/htdocs/install/mysql/tables/llx_ticket_logs.key.sql deleted file mode 100755 index 16bf0d9d977..00000000000 --- a/htdocs/install/mysql/tables/llx_ticket_logs.key.sql +++ /dev/null @@ -1,17 +0,0 @@ --- SQL definition for module ticket --- Copyright (C) 2013 Jean-François FERRY --- --- This program is free software: you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation, either version 3 of the License, or --- (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with this program. If not, see . - -ALTER TABLE llx_ticket_logs ADD CONSTRAINT fk_ticket_logs_fk_track_id FOREIGN KEY (fk_track_id) REFERENCES llx_ticket (track_id); diff --git a/htdocs/install/mysql/tables/llx_ticket_logs.sql b/htdocs/install/mysql/tables/llx_ticket_logs.sql deleted file mode 100755 index 6efbb779f40..00000000000 --- a/htdocs/install/mysql/tables/llx_ticket_logs.sql +++ /dev/null @@ -1,25 +0,0 @@ --- SQL definition for module ticket --- Copyright (C) 2013 Jean-François FERRY --- --- This program is free software: you can redistribute it and/or modify --- it under the terms of the GNU General Public License as published by --- the Free Software Foundation, either version 3 of the License, or --- (at your option) any later version. --- --- This program is distributed in the hope that it will be useful, --- but WITHOUT ANY WARRANTY; without even the implied warranty of --- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the --- GNU General Public License for more details. --- --- You should have received a copy of the GNU General Public License --- along with this program. If not, see . - -CREATE TABLE llx_ticket_logs -( - rowid integer AUTO_INCREMENT PRIMARY KEY, - entity integer DEFAULT 1, - fk_track_id varchar(128), - fk_user_create integer, - datec datetime, - message text -)ENGINE=innodb;