Prepare database for future

This commit is contained in:
Laurent Destailleur 2021-11-18 10:20:05 +01:00
parent 5fa50afc13
commit 9b9b63c794
2 changed files with 4 additions and 1 deletions

View File

@ -451,4 +451,6 @@ ALTER TABLE llx_socpeople DROP COLUMN whatsapp;
ALTER TABLE llx_propal ADD COLUMN online_sign_ip varchar(48);
ALTER TABLE llx_propal ADD COLUMN online_sign_name varchar(64);
ALTER TABLE llx_entrepot ADD COLUMN usage integer DEFAULT 1;

View File

@ -35,9 +35,10 @@ create table llx_entrepot
fk_pays integer DEFAULT 0,
phone varchar(20), -- phone number
fax varchar(20), -- fax number
usage integer DEFAULT 1, -- 1=internal, 2=external (virtual warehouse or stock out of company)
statut tinyint DEFAULT 1, -- 1 open, 0 close
fk_user_author integer,
model_pdf varchar(255),
import_key varchar(14),
import_key varchar(14),
fk_parent integer DEFAULT 0
)ENGINE=innodb;