You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by rl...@apache.org on 2018/05/22 16:41:27 UTC
[ambari] branch trunk updated: AMBARI-23928 Fixed Database scripts
for Mysql
This is an automated email from the ASF dual-hosted git repository.
rlevas pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 8464362 AMBARI-23928 Fixed Database scripts for Mysql
8464362 is described below
commit 84643629d209f973c24a7113c535bc28a5017f53
Author: Srikanth Janardhan <sj...@hortonworks.com>
AuthorDate: Tue May 22 18:55:43 2018 +0530
AMBARI-23928 Fixed Database scripts for Mysql
---
ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql b/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
index 681545a..7e7c4d0 100644
--- a/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
+++ b/ambari-server/src/main/resources/Ambari-DDL-MySQL-CREATE.sql
@@ -333,7 +333,7 @@ CREATE TABLE user_authentication (
authentication_type VARCHAR(50) NOT NULL,
authentication_key VARCHAR(2048),
create_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,
- update_time TIMESTAMP DEFAULT 0,
+ update_time TIMESTAMP DEFAULT NOW(),
CONSTRAINT PK_user_authentication PRIMARY KEY (user_authentication_id),
CONSTRAINT FK_user_authentication_users FOREIGN KEY (user_id) REFERENCES users (user_id)
);
--
To stop receiving notification emails like this one, please contact
rlevas@apache.org.