This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
-- 回滚导出分片任务 offset/limit 分片字段
|
||||
ALTER TABLE tb_export_shard_task
|
||||
DROP COLUMN IF EXISTS shard_limit,
|
||||
DROP COLUMN IF EXISTS shard_offset;
|
||||
7
migrations/000153_alter_export_shard_task_offset.up.sql
Normal file
7
migrations/000153_alter_export_shard_task_offset.up.sql
Normal 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)';
|
||||
Reference in New Issue
Block a user