FIX : on update current_timestamp

This commit is contained in:
Gauthier PC portable 024 2021-04-28 12:27:07 +02:00
parent c25b044da5
commit 4af2f8871a
2 changed files with 2 additions and 2 deletions

View File

@ -259,7 +259,7 @@ create table llx_salary
rowid integer AUTO_INCREMENT PRIMARY KEY,
ref varchar(30) NULL, -- payment reference number (currently NULL because there is no numbering manager yet)
label varchar(255),
tms timestamp,
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
datec datetime, -- Create date
fk_user integer NOT NULL,
datep date, -- payment date

View File

@ -21,7 +21,7 @@ create table llx_salary
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
ref varchar(30) NULL, -- payment reference number (currently NULL because there is no numbering manager yet)
tms timestamp,
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
datec datetime, -- Create date
fk_user integer NOT NULL,
datep date, -- payment date