From de700cc84ea042796d947de033111aa051b98b4f Mon Sep 17 00:00:00 2001 From: zlt Date: Mon, 12 Aug 2019 10:21:51 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=89=88=E6=9C=AC=E5=8D=87?= =?UTF-8?q?=E7=BA=A7=E7=9A=84sql=E8=AF=AD=E5=8F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...\234\254\345\215\207\347\272\247v2.5.0.sql" | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 "zlt-doc/\347\211\210\346\234\254\345\215\207\347\272\247_sql/\346\227\247\347\211\210\346\234\254\345\215\207\347\272\247v2.5.0.sql" diff --git "a/zlt-doc/\347\211\210\346\234\254\345\215\207\347\272\247_sql/\346\227\247\347\211\210\346\234\254\345\215\207\347\272\247v2.5.0.sql" "b/zlt-doc/\347\211\210\346\234\254\345\215\207\347\272\247_sql/\346\227\247\347\211\210\346\234\254\345\215\207\347\272\247v2.5.0.sql" new file mode 100644 index 0000000..8e923f7 --- /dev/null +++ "b/zlt-doc/\347\211\210\346\234\254\345\215\207\347\272\247_sql/\346\227\247\347\211\210\346\234\254\345\215\207\347\272\247v2.5.0.sql" @@ -0,0 +1,18 @@ +------------更新语句 +Use `user-center`; +alter table sys_role add `tenant_id` varchar(32) DEFAULT '' COMMENT '租户字段'; +update sys_role set tenant_id = 'webApp' +alter table sys_menu add `tenant_id` varchar(32) DEFAULT '' COMMENT '租户字段'; +update sys_menu set tenant_id = 'webApp' + + +Use `file-center`; +alter table file_info add `tenant_id` varchar(32) DEFAULT '' COMMENT '租户字段'; +update file_info set tenant_id = 'webApp' + + +Use `oauth-center`; +alter table oauth_client_details add `client_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci DEFAULT '' COMMENT '应用名称' +update oauth_client_details set client_name = 'pc端' where client_id = 'webApp' +update oauth_client_details set client_name = '移动端' where client_id = 'app' +update oauth_client_details set client_name = '第三方应用' where client_id = 'zlt' \ No newline at end of file -- GitLab