Fix bad template for tms timestamp in sql files.
This commit is contained in:
parent
3b80b1090f
commit
b0f07a1578
2 changed files with 2 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ CREATE TABLE llx_mymodule_myobject(
|
|||
label VARCHAR(255),
|
||||
qty INTEGER,
|
||||
date_creation DATETIME NOT NULL,
|
||||
tms TIMESTAMP,
|
||||
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||
fk_user_create INTEGER,
|
||||
fk_user_modif INTEGER,
|
||||
status INTEGER,
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
create table llx_mymodule_myobject_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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue