update-4.1-4.2.sql 664 B

1234567891011
  1. ALTER TABLE "sys_oss_config" ADD COLUMN "domain" varchar(255);
  2. COMMENT ON COLUMN "sys_oss_config"."domain" IS '自定义域名';
  3. update sys_oss_config set endpoint = 'localhost:9000' where oss_config_id = 1;
  4. update sys_oss_config set endpoint = 's3-cn-north-1.qiniucs.com', region = '' where oss_config_id = 2;
  5. update sys_oss_config set endpoint = 'oss-cn-beijing.aliyuncs.com' where oss_config_id = 3;
  6. update sys_oss_config set endpoint = 'cos.ap-beijing.myqcloud.com' where oss_config_id = 4;
  7. insert into sys_oss_config values (5, 'image', 'ruoyi', 'ruoyi123', 'ruoyi', 'image', 'localhost:9000', '','N', '', '1', '', 'admin', now(), 'admin', now(), NULL);