Release / update-version (push) Has been cancelled
Release / build-frontend (push) Has been cancelled
Release / release (push) Has been cancelled
Release / sync-version-file (push) Has been cancelled
CI / shell (push) Canceled after 0s
CI / test (push) Canceled after 0s
CI / frontend (push) Canceled after 0s
CI / golangci-lint (push) Canceled after 0s
Security Scan / backend-security (push) Canceled after 0s
Security Scan / frontend-security (push) Canceled after 0s
9 lines
396 B
SQL
9 lines
396 B
SQL
ALTER TABLE batch_image_jobs
|
|
ADD COLUMN IF NOT EXISTS parent_batch_id VARCHAR(64);
|
|
|
|
CREATE INDEX IF NOT EXISTS batch_image_jobs_parent_batch_id_idx
|
|
ON batch_image_jobs (parent_batch_id)
|
|
WHERE parent_batch_id IS NOT NULL AND parent_batch_id <> '';
|
|
|
|
COMMENT ON COLUMN batch_image_jobs.parent_batch_id IS '父批量生图任务 ID;失败项重试等子任务挂在主任务下展示';
|