Fix migration of type of field
This commit is contained in:
parent
8313ed9ee4
commit
226f4695cd
@ -198,4 +198,4 @@ ALTER TABLE llx_entrepot ADD COLUMN phone varchar(20) DEFAULT NULL;
|
|||||||
|
|
||||||
ALTER TABLE llx_accounting_account ADD COLUMN reconcilable tinyint DEFAULT 0 NOT NULL after active;
|
ALTER TABLE llx_accounting_account ADD COLUMN reconcilable tinyint DEFAULT 0 NOT NULL after active;
|
||||||
|
|
||||||
ALTER TABLE llx_categorie CHANGE type type integer NOT NULL DEFAULT '1';
|
ALTER TABLE llx_categorie MODIFY type integer NOT NULL DEFAULT 1;
|
||||||
|
|||||||
@ -26,7 +26,7 @@ create table llx_categorie
|
|||||||
fk_parent integer DEFAULT 0 NOT NULL,
|
fk_parent integer DEFAULT 0 NOT NULL,
|
||||||
label varchar(180) NOT NULL, -- category ref/name
|
label varchar(180) NOT NULL, -- category ref/name
|
||||||
ref_ext varchar(255), -- reference into an external system (not used by dolibarr)
|
ref_ext varchar(255), -- reference into an external system (not used by dolibarr)
|
||||||
type tinyint DEFAULT 1 NOT NULL, -- category type (product, supplier, customer, member)
|
type integer DEFAULT 1 NOT NULL, -- category type (product, supplier, customer, member)
|
||||||
description text, -- description of the category
|
description text, -- description of the category
|
||||||
color varchar(8), -- color
|
color varchar(8), -- color
|
||||||
fk_soc integer DEFAULT NULL, -- not used by default. Used when option CATEGORY_ASSIGNED_TO_A_CUSTOMER is set.
|
fk_soc integer DEFAULT NULL, -- not used by default. Used when option CATEGORY_ASSIGNED_TO_A_CUSTOMER is set.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user