Skip to content

Commit 940e5de

Browse files
committed
feature:增加文件切片上传表
1 parent 029d38d commit 940e5de

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

scripts/db/common-init.sql

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
-- 数据归集服务数据库初始化脚本
2+
-- 适用于dataengine数据库
3+
4+
USE dataengine;
5+
6+
create table if not exists t_chunk_upload_request
7+
(
8+
id VARCHAR(36) PRIMARY KEY COMMENT 'UUID',
9+
total_file_num integer,
10+
uploaded_file_num integer,
11+
upload_path varchar(256),
12+
timeout timestamp default now(),
13+
service_id varchar(64),
14+
check_info TEXT
15+
);
16+
comment on table t_chunk_upload_request is '文件切片上传请求表';
17+
comment on column t_chunk_upload_request.total_file_num is '总文件数';
18+
comment on column t_chunk_upload_request.uploaded_file_num is '已上传文件数';
19+
comment on column t_chunk_upload_request.upload_path is '文件路径';
20+
comment on column t_chunk_upload_request.timeout is '上传请求超时时间';
21+
comment on column t_chunk_upload_request.service_id is '上传请求所属服务:DATA-MANAGEMENT(数据管理);';
22+
comment on column t_chunk_upload_request.check_info is '业务信息';

0 commit comments

Comments
 (0)