You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@streampark.apache.org by "wolfboys (via GitHub)" <gi...@apache.org> on 2023/04/21 09:07:38 UTC

[GitHub] [incubator-streampark] wolfboys commented on a diff in pull request #2676: Issue 2674

wolfboys commented on code in PR #2676:
URL: https://github.com/apache/incubator-streampark/pull/2676#discussion_r1173531572


##########
streampark-console/streampark-console-service/src/main/assembly/script/schema/mysql-schema.sql:
##########
@@ -357,7 +357,7 @@ create table `t_setting` (
 drop table if exists `t_user`;
 create table `t_user` (
   `user_id` bigint not null auto_increment comment 'user id',
-  `username` varchar(255) collate utf8mb4_general_ci not null comment 'user name',
+  `username` varchar(50) collate utf8mb4_general_ci not null comment 'user name',
   `nick_name` varchar(50) collate utf8mb4_general_ci not null comment 'nick name',
   `salt` varchar(255) collate utf8mb4_general_ci default null comment 'salt',
   `password` varchar(128) collate utf8mb4_general_ci not null comment 'password',

Review Comment:
   `password` varchar(64)



##########
streampark-console/streampark-console-service/src/main/assembly/script/schema/mysql-schema.sql:
##########
@@ -357,7 +357,7 @@ create table `t_setting` (
 drop table if exists `t_user`;
 create table `t_user` (
   `user_id` bigint not null auto_increment comment 'user id',
-  `username` varchar(255) collate utf8mb4_general_ci not null comment 'user name',
+  `username` varchar(50) collate utf8mb4_general_ci not null comment 'user name',
   `nick_name` varchar(50) collate utf8mb4_general_ci not null comment 'nick name',
   `salt` varchar(255) collate utf8mb4_general_ci default null comment 'salt',

Review Comment:
   `salt` varchar(64)



##########
streampark-console/streampark-console-service/src/main/resources/db/schema-h2.sql:
##########
@@ -454,7 +454,7 @@ drop table if exists `t_yarn_queue`;
 create table if not exists `t_yarn_queue` (
   `id` bigint generated by default as identity not null comment 'queue id',
   `team_id` bigint not null comment 'team id',
-  `queue_label` varchar(255) not null comment 'queue label expression',
+  `queue_label` varchar(150) not null comment 'queue label expression',

Review Comment:
   `queue_label` varchar(128)



##########
streampark-console/streampark-console-service/src/main/assembly/script/upgrade/pgsql/2.1.0.sql:
##########
@@ -40,7 +40,7 @@ create sequence "public"."streampark_t_yarn_queue_id_seq" increment 1 start 1000
 create table "public"."t_yarn_queue" (
     "id" int8 not null default nextval('streampark_t_yarn_queue_id_seq'::regclass),
     "team_id" int8 not null,
-    "queue_label" varchar(255) not null collate "pg_catalog"."default",
+    "queue_label" varchar(150) not null collate "pg_catalog"."default",
     "description" varchar(512) collate "pg_catalog"."default",

Review Comment:
   `description` varchar(256)



-- 
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: issues-unsubscribe@streampark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org