FIX #6767 serious critical error no login possible

This commit is contained in:
Laurent Destailleur 2017-05-05 09:15:14 +02:00
parent 2de335e2dc
commit f32d19fb73
2 changed files with 2 additions and 1 deletions

View File

@ -262,3 +262,4 @@ ALTER TABLE llx_product_price ALTER COLUMN date_price SET DEFAULT NULL;
ALTER TABLE llx_product_price ADD COLUMN default_vat_code varchar(10) after tva_tx;
ALTER TABLE llx_product_fournisseur_price ADD COLUMN default_vat_code varchar(10) after tva_tx;
ALTER TABLE llx_events MODIFY COLUMN ip varchar(250);

View File

@ -30,7 +30,7 @@ create table llx_events
dateevent datetime, -- date event
fk_user integer, -- id user
description varchar(250) NOT NULL, -- full description of action
ip varchar(32) NOT NULL, -- ip
ip varchar(250) NOT NULL, -- ip (must contains ip v4 and v6 or dns names)
user_agent varchar(255) NULL, -- user agent
fk_object integer -- id of related object
) ENGINE=innodb;