You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@paimon.apache.org by ni...@apache.org on 2024/08/08 07:00:50 UTC
(paimon-webui) 01/01: [Bugfix] Fix SQL script of user table (#517)
This is an automated email from the ASF dual-hosted git repository.
nicholasjiang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/paimon-webui.git
commit e0e9b8b6da69b73d7bfdcd560dfce4179cdbb910
Author: XianmingZhou00 <14...@users.noreply.github.com>
AuthorDate: Thu Aug 8 14:57:37 2024 +0800
[Bugfix] Fix SQL script of user table (#517)
---
scripts/sql/paimon-mysql.sql | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/scripts/sql/paimon-mysql.sql b/scripts/sql/paimon-mysql.sql
index ebf4f394..e958db0b 100644
--- a/scripts/sql/paimon-mysql.sql
+++ b/scripts/sql/paimon-mysql.sql
@@ -204,12 +204,12 @@ CREATE TABLE if not exists `history`
`update_time` datetime(0) NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'update time'
) ENGINE = InnoDB DEFAULT CHARSET=utf8;
-INSERT INTO `user` ( id, username, password, nickname, mobile
- , email, enabled, is_delete)
-VALUES ( 1, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'Admin', 0
- , 'admin@paimon.com', 1, 0);
-INSERT INTO `user` (id, username, password, nickname, mobile, email, enabled, is_delete)
-VALUES (2, 'common', '21232f297a57a5a743894a0e4a801fc3', 'common', 0, 'common@paimon.com', 1, 0);
+INSERT INTO `user` (id, username, password, nickname, mobile
+ , email, enabled)
+VALUES (1, 'admin', '21232f297a57a5a743894a0e4a801fc3', 'Admin', 0
+ , 'admin@paimon.com', 1);
+INSERT INTO `user` (id, username, password, nickname, mobile, email, enabled)
+VALUES (2, 'common', '21232f297a57a5a743894a0e4a801fc3', 'common', 0, 'common@paimon.com', 1);
INSERT INTO `tenant` (id, name, description)
VALUES (1, 'DefaultTenant', 'DefaultTenant');