From 8d64f8d774b0c8496171fb4aacff4ea1c4ccf336 Mon Sep 17 00:00:00 2001 From: zaharchenko Date: Tue, 1 Oct 2019 16:46:22 +0400 Subject: [PATCH] update MySQL DB scripts (cherry picked from commit acfc9f53acdc7bef19e2b00d24d07a21601fc841) --- modules/core/db/init/mysql/create-db.sql | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modules/core/db/init/mysql/create-db.sql b/modules/core/db/init/mysql/create-db.sql index 555e492..28a3102 100644 --- a/modules/core/db/init/mysql/create-db.sql +++ b/modules/core/db/init/mysql/create-db.sql @@ -2,11 +2,11 @@ create table SAMLADDON_SAML_CONNECTION ( ID varchar(36) not null, VERSION integer not null, - CREATE_TS timestamp, + CREATE_TS datetime(3), CREATED_BY varchar(50), - UPDATE_TS timestamp, + UPDATE_TS datetime(3), UPDATED_BY varchar(50), - DELETE_TS timestamp, + DELETE_TS datetime(3), DELETED_BY varchar(50), -- NAME varchar(255) not null, @@ -29,11 +29,11 @@ create table SAMLADDON_SAML_CONNECTION ( create table SAMLADDON_KEY_STORE ( ID varchar(36) not null, VERSION integer not null, - CREATE_TS timestamp, + CREATE_TS datetime(3), CREATED_BY varchar(50), - UPDATE_TS timestamp, + UPDATE_TS datetime(3), UPDATED_BY varchar(50), - DELETE_TS timestamp, + DELETE_TS datetime(3), DELETED_BY varchar(50), -- LOGIN varchar(100) not null,