Merge pull request #5989 from atm-florian/develop

FIX : increase size of llx_c_actioncomm type column
This commit is contained in:
Laurent Destailleur 2016-11-14 21:50:19 +01:00 committed by GitHub
commit 59ba5ef484
2 changed files with 2 additions and 4 deletions

View File

@ -209,8 +209,6 @@ create table llx_user_employment
)ENGINE=innodb;
-- Sequence to removed duplicated values of llx_links. Use serveral times if you still have duplicate.
drop table tmp_links_double;
--select objectid, label, max(rowid) as max_rowid, count(rowid) as count_rowid from llx_links where label is not null group by objectid, label having count(rowid) >= 2;
@ -221,4 +219,4 @@ drop table tmp_links_double;
ALTER TABLE llx_links ADD UNIQUE INDEX uk_links (objectid,label);
ALTER TABLE llx_c_actioncomm MODIFY COLUMN type varchar(50) DEFAULT 'system' NOT NULL;

View File

@ -22,7 +22,7 @@ create table llx_c_actioncomm
(
id integer PRIMARY KEY,
code varchar(12) NOT NULL,
type varchar(10) DEFAULT 'system' NOT NULL,
type varchar(50) DEFAULT 'system' NOT NULL,
libelle varchar(48) NOT NULL,
module varchar(16) DEFAULT NULL,
active tinyint DEFAULT 1 NOT NULL,