Add ip and user_agent into order table

This commit is contained in:
ldestailleur
2025-07-20 21:04:57 +02:00
parent 0277aff89d
commit c9cef40a2b
2 changed files with 8 additions and 1 deletions

View File

@@ -43,4 +43,8 @@ create table llx_paiement_extrafields
ALTER TABLE llx_paiement_extrafields ADD UNIQUE INDEX uk_paiement_extrafields (fk_object);
ALTER TABLE llx_commande ADD COLUMN ip varchar(250);
ALTER TABLE llx_commande ADD COLUMN user_agent varchar(255);
-- end of migration

View File

@@ -86,5 +86,8 @@ create table llx_commande
multicurrency_tx double(24,8) DEFAULT 1,
multicurrency_total_ht double(24,8) DEFAULT 0,
multicurrency_total_tva double(24,8) DEFAULT 0,
multicurrency_total_ttc double(24,8) DEFAULT 0
multicurrency_total_ttc double(24,8) DEFAULT 0,
ip varchar(250),
user_agent varchar(255)
)ENGINE=innodb;