From 8bff33d6728d8a51bece7c60b0fa96394e066cb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Sun, 2 Jul 2023 15:21:52 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E5=B0=86oracle?= =?UTF-8?q?=E8=84=9A=E6=9C=AC=20varchar=20=E6=9B=B4=E6=96=B0=E4=B8=BA=20va?= =?UTF-8?q?rchar2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- script/sql/oracle/oracle_ry_vue_5.X.sql | 98 ++++++++++----------- script/sql/update/oracle/update_5.0-5.1.sql | 50 +++++------ 2 files changed, 74 insertions(+), 74 deletions(-) diff --git a/script/sql/oracle/oracle_ry_vue_5.X.sql b/script/sql/oracle/oracle_ry_vue_5.X.sql index 6e6771eb..3be9990e 100644 --- a/script/sql/oracle/oracle_ry_vue_5.X.sql +++ b/script/sql/oracle/oracle_ry_vue_5.X.sql @@ -5,27 +5,27 @@ create table sys_social ( id number(20) not null, user_id number(20) not null, - tenant_id varchar(20) default null, - auth_id varchar(255) not null, - source varchar(255) not null, - open_id varchar(255) default null, - user_name varchar(30) not null, - nick_name varchar(30) default '', - email varchar(255) default '', - avatar varchar(500) default '', - access_token varchar(255) not null, + tenant_id varchar2(20) default null, + auth_id varchar2(255) not null, + source varchar2(255) not null, + open_id varchar2(255) default null, + user_name varchar2(30) not null, + nick_name varchar2(30) default '', + email varchar2(255) default '', + avatar varchar2(500) default '', + access_token varchar2(255) not null, expire_in number(100) default null, - refresh_token varchar(255) default null, - access_code varchar(255) default null, - union_id varchar(255) default null, - scope varchar(255) default null, - token_type varchar(255) default null, - id_token varchar(255) default null, - mac_algorithm varchar(255) default null, - mac_key varchar(255) default null, - code varchar(255) default null, - oauth_token varchar(255) default null, - oauth_token_secret varchar(255) default null, + refresh_token varchar2(255) default null, + access_code varchar2(255) default null, + union_id varchar2(255) default null, + scope varchar2(255) default null, + token_type varchar2(255) default null, + id_token varchar2(255) default null, + mac_algorithm varchar2(255) default null, + mac_key varchar2(255) default null, + code varchar2(255) default null, + oauth_token varchar2(255) default null, + oauth_token_secret varchar2(255) default null, create_dept number(20), create_by number(20), create_time date, @@ -373,9 +373,9 @@ create table sys_menu ( menu_name varchar2(50) not null, parent_id number(20) default 0, order_num number(4) default 0, - path varchar(200) default '', - component varchar(255) default null, - query_param varchar(255) default null, + path varchar2(200) default '', + component varchar2(255) default null, + query_param varchar2(255) default null, is_frame number(1) default 1, is_cache number(1) default 0, menu_type char(1) default '', @@ -719,7 +719,7 @@ create table sys_oper_log ( title varchar2(50) default '', business_type number(2) default 0, method varchar2(100) default '', - request_method varchar(10) default '', + request_method varchar2(10) default '', operator_type number(1) default 0, oper_name varchar2(50) default '', dept_name varchar2(50) default '', @@ -1003,8 +1003,8 @@ create table gen_table ( data_name varchar2(200) default '', table_name varchar2(200) default '', table_comment varchar2(500) default '', - sub_table_name varchar(64) default null, - sub_table_fk_name varchar(64) default null, + sub_table_name varchar2(64) default null, + sub_table_fk_name varchar2(64) default null, class_name varchar2(100) default '', tpl_category varchar2(200) default 'crud', package_name varchar2(100), @@ -1068,9 +1068,9 @@ create table gen_table_column ( is_edit char(1), is_list char(1), is_query char(1), - query_type varchar(200) default 'EQ', - html_type varchar(200), - dict_type varchar(200) default '', + query_type varchar2(200) default 'EQ', + html_type varchar2(200), + dict_type varchar2(200) default '', sort number(4), create_dept number(20) default null, create_by number(20) default null, @@ -1113,11 +1113,11 @@ comment on column gen_table_column.update_time is '更新时间'; create table sys_oss ( oss_id number(20) not null, tenant_id varchar2(20) default '000000', - file_name varchar(255) not null, - original_name varchar(255) not null, - file_suffix varchar(10) not null, - url varchar(500) not null, - service varchar(20) default 'minio' not null, + file_name varchar2(255) not null, + original_name varchar2(255) not null, + file_suffix varchar2(10) not null, + url varchar2(500) not null, + service varchar2(20) default 'minio' not null, create_dept number(20) default null, create_by number(20) default null, create_time date, @@ -1148,19 +1148,19 @@ comment on column sys_oss.update_by is '更新者'; create table sys_oss_config ( oss_config_id number(20) not null, tenant_id varchar2(20) default '000000', - config_key varchar(20) not null, - access_key varchar(255) default '', - secret_key varchar(255) default '', - bucket_name varchar(255) default '', - prefix varchar(255) default '', - endpoint varchar(255) default '', - domain varchar(255) default '', + config_key varchar2(20) not null, + access_key varchar2(255) default '', + secret_key varchar2(255) default '', + bucket_name varchar2(255) default '', + prefix varchar2(255) default '', + endpoint varchar2(255) default '', + domain varchar2(255) default '', is_https char(1) default 'N', - region varchar(255) default '', + region varchar2(255) default '', access_policy char(1) default '1' not null, status char(1) default '1', - ext1 varchar(255) default '', - remark varchar(500) default null, + ext1 varchar2(255) default '', + remark varchar2(500) default null, create_dept number(20) default null, create_by number(20) default null, create_time date, @@ -1203,11 +1203,11 @@ insert into sys_oss_config values (5, '000000', 'image', 'ruoyi', 'r -- ---------------------------- create table sys_client ( id number(20) not null, - client_id varchar(64) default null, - client_key varchar(32) default null, - client_secret varchar(255) default null, - grant_type varchar(255) default null, - device_type varchar(32) default null, + client_id varchar2(64) default null, + client_key varchar2(32) default null, + client_secret varchar2(255) default null, + grant_type varchar2(255) default null, + device_type varchar2(32) default null, active_timeout number(11) default 1800, timeout number(11) default 604800, status char(1) default '0', diff --git a/script/sql/update/oracle/update_5.0-5.1.sql b/script/sql/update/oracle/update_5.0-5.1.sql index d490f232..aa3ac6d1 100644 --- a/script/sql/update/oracle/update_5.0-5.1.sql +++ b/script/sql/update/oracle/update_5.0-5.1.sql @@ -11,27 +11,27 @@ create table sys_social ( id number(20) not null, user_id number(20) not null, - tenant_id varchar(20) default null, - auth_id varchar(255) not null, - source varchar(255) not null, - open_id varchar(255) default null, - user_name varchar(30) not null, - nick_name varchar(30) default '', - email varchar(255) default '', - avatar varchar(500) default '', - access_token varchar(255) not null, + tenant_id varchar2(20) default null, + auth_id varchar2(255) not null, + source varchar2(255) not null, + open_id varchar2(255) default null, + user_name varchar2(30) not null, + nick_name varchar2(30) default '', + email varchar2(255) default '', + avatar varchar2(500) default '', + access_token varchar2(255) not null, expire_in number(100) default null, - refresh_token varchar(255) default null, - access_code varchar(255) default null, - union_id varchar(255) default null, - scope varchar(255) default null, - token_type varchar(255) default null, - id_token varchar(255) default null, - mac_algorithm varchar(255) default null, - mac_key varchar(255) default null, - code varchar(255) default null, - oauth_token varchar(255) default null, - oauth_token_secret varchar(255) default null, + refresh_token varchar2(255) default null, + access_code varchar2(255) default null, + union_id varchar2(255) default null, + scope varchar2(255) default null, + token_type varchar2(255) default null, + id_token varchar2(255) default null, + mac_algorithm varchar2(255) default null, + mac_key varchar2(255) default null, + code varchar2(255) default null, + oauth_token varchar2(255) default null, + oauth_token_secret varchar2(255) default null, create_dept number(20), create_by number(20), create_time date, @@ -78,11 +78,11 @@ comment on column sys_social.del_flag is '删除标志(0代表存在 -- ---------------------------- create table sys_client ( id number(20) not null, - client_id varchar(64) default null, - client_key varchar(32) default null, - client_secret varchar(255) default null, - grant_type varchar(255) default null, - device_type varchar(32) default null, + client_id varchar2(64) default null, + client_key varchar2(32) default null, + client_secret varchar2(255) default null, + grant_type varchar2(255) default null, + device_type varchar2(32) default null, active_timeout number(11) default 1800, timeout number(11) default 604800, status char(1) default '0',