【更新】代码生成的数据库表更新

pull/24/head
小诺 2021-07-21 00:02:39 +08:00 committed by 俞宝山
parent d3a5eee19d
commit dab4b06dfc
4 changed files with 20 additions and 0 deletions

View File

@ -325,6 +325,20 @@ EXEC sp_addextendedproperty
'COLUMN', N'TABLE_COMMENT'
GO
EXEC sp_addextendedproperty
'MS_Description', N'所属应用',
'SCHEMA', N'dbo',
'TABLE', N'SYS_CODE_GENERATE',
'COLUMN', N'APP_CODE'
GO
EXEC sp_addextendedproperty
'MS_Description', N'菜单上级',
'SCHEMA', N'dbo',
'TABLE', N'SYS_CODE_GENERATE',
'COLUMN', N'MENU_PID'
GO
EXEC sp_addextendedproperty
'MS_Description', N'创建人',
'SCHEMA', N'dbo',

View File

@ -165,6 +165,8 @@ COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."TABLE_NAME" IS '数据
COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."PACKAGE_NAME" IS '包名称';
COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."BUS_NAME" IS '业务名';
COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."TABLE_COMMENT" IS '功能名';
COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."APP_CODE" IS '所属应用';
COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."MENU_PID" IS '菜单上级';
COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."CREATE_USER" IS '创建人';
COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."CREATE_TIME" IS '创建时间';
COMMENT ON COLUMN "SNOWY-PUB-ORACLE"."SYS_CODE_GENERATE"."UPDATE_USER" IS '更新人';

View File

@ -115,6 +115,8 @@ COMMENT ON COLUMN "public"."sys_code_generate"."table_name" IS '数据库表名'
COMMENT ON COLUMN "public"."sys_code_generate"."package_name" IS '包名称';
COMMENT ON COLUMN "public"."sys_code_generate"."bus_name" IS '业务名';
COMMENT ON COLUMN "public"."sys_code_generate"."table_comment" IS '功能名';
COMMENT ON COLUMN "public"."sys_code_generate"."app_code" IS '所属应用';
COMMENT ON COLUMN "public"."sys_code_generate"."menu_pid" IS '菜单上级';
COMMENT ON COLUMN "public"."sys_code_generate"."create_user" IS '创建人';
COMMENT ON COLUMN "public"."sys_code_generate"."create_time" IS '创建时间';
COMMENT ON COLUMN "public"."sys_code_generate"."update_user" IS '更新人';

View File

@ -81,6 +81,8 @@ CREATE TABLE `sys_code_generate` (
`package_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '包名称',
`bus_name` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '业务名',
`table_comment` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '功能名',
`app_code` varchar(255) DEFAULT NULL COMMENT '所属应用',
`menu_pid` varchar(255) DEFAULT NULL COMMENT '菜单上级',
`create_user` bigint(0) NULL DEFAULT NULL COMMENT '创建人',
`create_time` datetime(0) NULL DEFAULT NULL COMMENT '创建时间',
`update_user` bigint(0) NULL DEFAULT NULL COMMENT '更新人',