Browse Source

update 优化 调整 oss表key 与 ossconfig的service 字段长度不匹配

疯狂的狮子li 3 năm trước cách đây
mục cha
commit
2e53842059
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      sql/ry-cloud.sql

+ 2 - 2
sql/ry-cloud.sql

@@ -597,7 +597,7 @@ create table sys_oss (
   create_by       varchar(64)       default ''                 comment '上传人',
   update_time     datetime          default null               comment '更新时间',
   update_by       varchar(64)       default ''                 comment '更新人',
-  service         varchar(10)       not null default 'minio'   comment '服务商',
+  service         varchar(20)       not null default 'minio'   comment '服务商',
   primary key (oss_id)
 ) engine=innodb comment ='OSS对象存储表';
 
@@ -607,7 +607,7 @@ create table sys_oss (
 drop table if exists sys_oss_config;
 create table sys_oss_config (
   oss_config_id   bigint(20)         not null                   comment '主建',
-  config_key      varchar(255)       not null default ''        comment '配置key',
+  config_key      varchar(20)        not null default ''        comment '配置key',
   access_key      varchar(255)       default ''                 comment 'accessKey',
   secret_key      varchar(255)       default ''                 comment '秘钥',
   bucket_name     varchar(255)       default ''                 comment '桶名称',