Add column position on some dictionaries table
This commit is contained in:
parent
90ab6a1f30
commit
d1fd1df345
@ -41,6 +41,9 @@ ALTER TABLE llx_website_page ADD COLUMN fk_user_modif integer;
|
|||||||
|
|
||||||
-- For 7.0
|
-- For 7.0
|
||||||
|
|
||||||
|
ALTER TABLE llx_c_paiement ADD COLUMN position integer NOT NULL DEFAULT 0;
|
||||||
|
ALTER TABLE llx_c_payment_term ADD COLUMN position integer NOT NULL DEFAULT 0;
|
||||||
|
|
||||||
ALTER TABLE llx_product MODIFY COLUMN seuil_stock_alerte integer DEFAULT NULL;
|
ALTER TABLE llx_product MODIFY COLUMN seuil_stock_alerte integer DEFAULT NULL;
|
||||||
-- VPGSQL8.2 ALTER TABLE llx_product ALTER COLUMN seuil_stock_alerte SET DEFAULT NULL;
|
-- VPGSQL8.2 ALTER TABLE llx_product ALTER COLUMN seuil_stock_alerte SET DEFAULT NULL;
|
||||||
|
|
||||||
|
|||||||
@ -26,7 +26,8 @@ create table llx_c_paiement
|
|||||||
type smallint, -- 0: input money, 1: output money, 2: input and output, 3: other
|
type smallint, -- 0: input money, 1: output money, 2: input and output, 3: other
|
||||||
active tinyint DEFAULT 1 NOT NULL,
|
active tinyint DEFAULT 1 NOT NULL,
|
||||||
accountancy_code varchar(32) NULL,
|
accountancy_code varchar(32) NULL,
|
||||||
module varchar(32) NULL
|
module varchar(32) NULL,
|
||||||
|
position integer NOT NULL DEFAULT 0
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -28,5 +28,6 @@ create table llx_c_payment_term
|
|||||||
type_cdr tinyint, -- Type of change date reckoning. 1=Payment at end of current month, 2=the Nth of next month
|
type_cdr tinyint, -- Type of change date reckoning. 1=Payment at end of current month, 2=the Nth of next month
|
||||||
nbjour smallint,
|
nbjour smallint,
|
||||||
decalage smallint,
|
decalage smallint,
|
||||||
module varchar(32) NULL
|
module varchar(32) NULL,
|
||||||
|
position integer NOT NULL DEFAULT 0
|
||||||
)ENGINE=innodb;
|
)ENGINE=innodb;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user