Skip to content

Commit

Permalink
Merge pull request #5989 from atm-florian/develop
Browse files Browse the repository at this point in the history
FIX : increase size of llx_c_actioncomm type column
  • Loading branch information
eldy committed Nov 14, 2016
2 parents 598748b + 7bf6ad4 commit 59ba5ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions htdocs/install/mysql/migration/4.0.0-5.0.0.sql
Expand Up @@ -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;
Expand All @@ -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;
2 changes: 1 addition & 1 deletion htdocs/install/mysql/tables/llx_c_actioncomm.sql
Expand Up @@ -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,
Expand Down

0 comments on commit 59ba5ef

Please sign in to comment.