diff --git a/htdocs/install/mysql/tables/llx_stocktransfer_stocktransfer_extrafields.sql b/htdocs/install/mysql/tables/llx_stocktransfer_stocktransfer_extrafields.sql index 33a91fc1070..e03a0bf5343 100644 --- a/htdocs/install/mysql/tables/llx_stocktransfer_stocktransfer_extrafields.sql +++ b/htdocs/install/mysql/tables/llx_stocktransfer_stocktransfer_extrafields.sql @@ -16,7 +16,7 @@ create table llx_stocktransfer_stocktransfer_extrafields ( rowid integer AUTO_INCREMENT PRIMARY KEY, - tms timestamp, + tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, fk_object integer NOT NULL, import_key varchar(14) -- import key ) ENGINE=innodb;