Fix llx_c_type_resource when you update from a 3.6-beta

This commit is contained in:
aspangaro 2014-08-26 04:35:22 +02:00
parent b561d48b5f
commit b7daef10c6

View File

@ -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