This is an automated email from the ASF dual-hosted git repository.

gaojun2048 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/seatunnel-web.git


The following commit(s) were added to refs/heads/main by this push:
     new 013022de [Hotfix] Added SQL query to insert records in seatunnel.role 
table (#124)
013022de is described below

commit 013022ded5447a51f63f07d8cc002d795a00a26c
Author: Hamza Khan <[email protected]>
AuthorDate: Sat Oct 7 20:53:56 2023 +0530

    [Hotfix] Added SQL query to insert records in seatunnel.role table (#124)
---
 .../src/main/resources/script/seatunnel_server_mysql.sql            | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git 
a/seatunnel-server/seatunnel-app/src/main/resources/script/seatunnel_server_mysql.sql
 
b/seatunnel-server/seatunnel-app/src/main/resources/script/seatunnel_server_mysql.sql
index 3f329ce0..4f6663d6 100644
--- 
a/seatunnel-server/seatunnel-app/src/main/resources/script/seatunnel_server_mysql.sql
+++ 
b/seatunnel-server/seatunnel-app/src/main/resources/script/seatunnel_server_mysql.sql
@@ -34,6 +34,12 @@ CREATE TABLE `role`  (
   PRIMARY KEY (`id`) USING BTREE
 ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = 
utf8mb4_general_ci ROW_FORMAT = Dynamic;
 
+-- ----------------------------
+-- Records of role
+-- ----------------------------
+INSERT INTO `seatunnel`.`role`(`type`,`role_name`,`description`) values (0, 
'ADMIN_ROLE', 'Admin User');
+INSERT INTO `seatunnel`.`role`(`type`,`role_name`,`description`) values (1, 
'NORMAL_ROLE', 'Normal User');
+
 -- ----------------------------
 -- Table structure for role_user_relation
 -- ----------------------------

Reply via email to