HalimKim commented on code in PR #27:
URL: https://github.com/apache/bigtop-manager/pull/27#discussion_r1694047095


##########
bigtop-manager-server/src/main/resources/ddl/MySQL-DDL-CREATE.sql:
##########
@@ -58,89 +75,255 @@ CREATE TABLE `user`
     `status`      BIT(1)      DEFAULT 1 COMMENT '0-Disable, 1-Enable',
     `create_time` DATETIME    DEFAULT NULL,
     `update_time` DATETIME    DEFAULT NULL,
+    `create_by`   BIGINT,
+    `update_by`   BIGINT,
     PRIMARY KEY (`id`),
     UNIQUE KEY `uk_username` (`username`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
 
 CREATE TABLE `cluster`
 (
-    `id`           BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
-    `cluster_name` VARCHAR(255) DEFAULT NULL COMMENT 'Cluster Name',
-    `cluster_desc` VARCHAR(255) DEFAULT NULL COMMENT 'Cluster Name',
-    `cluster_type` SMALLINT UNSIGNED DEFAULT 1 COMMENT '1-Physical Machine, 
2-Kubernetes',
-    `selected`     BIT(1)      DEFAULT 1 COMMENT '0-Disable, 1-Enable',
-    `create_time`  DATETIME     DEFAULT NULL,
-    `update_time`  DATETIME     DEFAULT NULL,
+    `id`            BIGINT(20) UNSIGNED NOT NULL AUTO_INCREMENT,
+    `cluster_name`  VARCHAR(255) DEFAULT NULL COMMENT 'Cluster Name',
+    `cluster_desc`  VARCHAR(255) DEFAULT NULL COMMENT 'Cluster Name',

Review Comment:
   Thank you checking, I will add comments



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to