llx_c_productbatch_status to migration and translatable strings
This commit is contained in:
parent
86812c13ee
commit
9fc67275fd
@ -23,6 +23,6 @@
|
|||||||
-- de l'install et tous les sigles '--' sont supprimés.
|
-- de l'install et tous les sigles '--' sont supprimés.
|
||||||
--
|
--
|
||||||
|
|
||||||
INSERT INTO llx_c_productbatch_status (code, label, active) VALUES ('OK', 'En état de marche', 1);
|
INSERT INTO llx_c_productbatch_status (code, label, active) VALUES ('OK', 'InWorkingOrder', 1);
|
||||||
INSERT INTO llx_c_productbatch_status (code, label, active) VALUES ('KO', 'Hors d’usage', 1);
|
INSERT INTO llx_c_productbatch_status (code, label, active) VALUES ('KO', 'OutOfOrder', 1);
|
||||||
|
|
||||||
|
|||||||
@ -141,6 +141,17 @@ CREATE TABLE llx_workstation_workstation_usergroup(
|
|||||||
fk_workstation integer
|
fk_workstation integer
|
||||||
) ENGINE=innodb;
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
CREATE TABLE llx_c_producbatch_status(
|
||||||
|
rowid integer AUTO_INCREMENT PRIMARY KEY NOT NULL,
|
||||||
|
code varchar(16) NOT NULL,
|
||||||
|
label varchar(50) NOT NULL,
|
||||||
|
active integer DEFAULT 1 NOT NULL
|
||||||
|
) ENGINE=innodb;
|
||||||
|
|
||||||
|
ALTER TABLE llx_c_productbatch_status ADD UNIQUE INDEX uk_c_productbatch_status(code);
|
||||||
|
|
||||||
|
INSERT INTO llx_c_productbatch_status (code, label, active) VALUES ('OK', 'InWorkingOrder', 1);
|
||||||
|
INSERT INTO llx_c_productbatch_status (code, label, active) VALUES ('KO', 'OutOfOrder', 1);
|
||||||
|
|
||||||
ALTER TABLE llx_product_customer_price ADD COLUMN ref_customer varchar(30);
|
ALTER TABLE llx_product_customer_price ADD COLUMN ref_customer varchar(30);
|
||||||
ALTER TABLE llx_product_customer_price_log ADD COLUMN ref_customer varchar(30);
|
ALTER TABLE llx_product_customer_price_log ADD COLUMN ref_customer varchar(30);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user