Skip to content
Snippets Groups Projects
Commit 3bac7c9e authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Add index on new table llx_c_email_template

parent 8df8fb2f
Branches
Tags
No related merge requests found
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
-- -- VPGSQL8.2 DELETE FROM llx_usergroup_user WHERE fk_user NOT IN (SELECT rowid from llx_user); -- -- VPGSQL8.2 DELETE FROM llx_usergroup_user WHERE fk_user NOT IN (SELECT rowid from llx_user);
-- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup); -- -- VMYSQL4.1 DELETE FROM llx_usergroup_user WHERE fk_usergroup NOT IN (SELECT rowid from llx_usergroup);
ALTER TABLE llx_bank_account ADD COLUMN fk_user_author integer; ALTER TABLE llx_bank_account ADD COLUMN fk_user_author integer;
ALTER TABLE llx_c_actioncomm ADD COLUMN color varchar(9); ALTER TABLE llx_c_actioncomm ADD COLUMN color varchar(9);
...@@ -1086,3 +1087,6 @@ CREATE TABLE llx_usergroup_extrafields ( ...@@ -1086,3 +1087,6 @@ CREATE TABLE llx_usergroup_extrafields (
ALTER TABLE llx_usergroup_extrafields ADD INDEX idx_usergroup_extrafields (fk_object); ALTER TABLE llx_usergroup_extrafields ADD INDEX idx_usergroup_extrafields (fk_object);
ALTER TABLE llx_contrat ADD COLUMN model_pdf varchar(255) DEFAULT NULL AFTER note_public; ALTER TABLE llx_contrat ADD COLUMN model_pdf varchar(255) DEFAULT NULL AFTER note_public;
ALTER TABLE llx_c_email_template ADD UNIQUE INDEX uk_c_email_template(label, lang);
ALTER TABLE llx_c_email_template ADD INDEX idx_type(type_template);
-- ===================================================================
-- Copyright (C) 2014 Laurent Destailleur <eldy@users.sourceforge.net>
--
-- 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 <http://www.gnu.org/licenses/>.
--
-- Table with templates of emails
-- ===================================================================
ALTER TABLE llx_c_email_template ADD UNIQUE INDEX uk_c_email_template(label, lang);
ALTER TABLE llx_c_email_template ADD INDEX idx_type(type_template);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment