导出系统
All checks were successful
构建并部署到测试环境(无 SSH) / build-and-deploy (push) Successful in 7m50s

This commit is contained in:
Break
2026-06-15 15:28:29 +08:00
parent 2f0b24ce88
commit 7ec84fbc0f
17 changed files with 939 additions and 260 deletions

View File

@@ -0,0 +1,4 @@
-- 回滚导出分片任务 offset/limit 分片字段
ALTER TABLE tb_export_shard_task
DROP COLUMN IF EXISTS shard_limit,
DROP COLUMN IF EXISTS shard_offset;

View File

@@ -0,0 +1,7 @@
-- 为导出分片任务补充 offset/limit 分片字段
ALTER TABLE tb_export_shard_task
ADD COLUMN IF NOT EXISTS shard_offset BIGINT NOT NULL DEFAULT 0,
ADD COLUMN IF NOT EXISTS shard_limit INT NOT NULL DEFAULT 0;
COMMENT ON COLUMN tb_export_shard_task.shard_offset IS '分片偏移量(offset)';
COMMENT ON COLUMN tb_export_shard_task.shard_limit IS '分片行数上限(limit)';