add-初始化oss sql

This commit is contained in:
zhangran 2021-08-03 17:44:19 +08:00
parent 2451b8c2b3
commit c6cb7f1f97

View File

@ -0,0 +1,14 @@
INSERT INTO `app_channel_bucket`( `app_channel_bucket_no`, `app_code`, `channel_code`, `bucket_name`, `access_control`, `remark`, `extension`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
VALUES ( 'test:aliyun:test', 'test', 'aliyun', 'axzo_public', '', NULL, NULL, now(), now(), '', '', 0);
INSERT INTO `file_app`(`app_code`, `app_name`, `status`, `remark`, `extension`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
VALUES ('test', '测试', 1, '测试', NULL, now(), now(), '', '', 0);
INSERT INTO `file_business_scene`(`app_channel_bucket_no`, `app_code`, `channel_code`, `bucket_name`, `business_scene`, `directory`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
VALUES ('test:aliyun:test', 'test', 'aliyun', 'axzo_public', '1', 'oss-test', now(), now(), NULL, NULL, 0);
INSERT INTO `file_channel`(`channel_code`, `channel_name`, `status`, `remark`, `extension`, `priority`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
VALUES ('aliyun', '阿里云', 1, NULL, NULL, 1, now(), now(), NULL, NULL, 0);
INSERT INTO `file_upload_config`(`app_channel_bucket_no`, `app_code`, `channel_code`, `bucket_name`, `directory`, `storage_unit`, `storage_size`, `file_format`, `create_at`, `update_at`, `create_by`, `update_by`, `is_delete`)
VALUES ('test:aliyun:test', 'test', 'aliyun', 'axzo-public', 'oss-test', 'MB', 1, 'jpg', now(), now(), NULL, NULL, 0);