Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dolibarr
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software_Artifact_Infrastructure_Repository
dolibarr
Commits
3bac7c9e
Commit
3bac7c9e
authored
10 years ago
by
Laurent Destailleur
Browse files
Options
Downloads
Patches
Plain Diff
Add index on new table llx_c_email_template
parent
8df8fb2f
Branches
master
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
htdocs/install/mysql/migration/3.6.0-3.7.0.sql
+4
-0
4 additions, 0 deletions
htdocs/install/mysql/migration/3.6.0-3.7.0.sql
htdocs/install/mysql/tables/llx_c_email_template.key.sql
+22
-0
22 additions, 0 deletions
htdocs/install/mysql/tables/llx_c_email_template.key.sql
with
26 additions
and
0 deletions
htdocs/install/mysql/migration/3.6.0-3.7.0.sql
+
4
−
0
View file @
3bac7c9e
...
@@ -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
);
This diff is collapsed.
Click to expand it.
htdocs/install/mysql/tables/llx_c_email_template.key.sql
0 → 100644
+
22
−
0
View file @
3bac7c9e
-- ===================================================================
-- 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
);
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment