Skip to content

Commit

Permalink
Fix llx_c_type_resource when you update from a 3.6-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
aspangaro committed Aug 26, 2014
1 parent b561d48 commit b7daef1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions htdocs/install/mysql/migration/3.5.0-3.6.0.sql
Expand Up @@ -293,6 +293,9 @@ create table llx_c_type_resource
active tinyint DEFAULT 1 NOT NULL
)ENGINE=innodb;

-- Fix llx_c_type_resource when you update from a 3.6-beta
ALTER TABLE llx_c_type_resource CHANGE libelle label VARCHAR(64) NOT NULL;

ALTER TABLE llx_c_type_resource ADD UNIQUE INDEX uk_c_type_resource_id (label, code);

-- Fix :: account_parent must be an int, not an account number
Expand Down

0 comments on commit b7daef1

Please sign in to comment.