Spaces:
Running
Running
File size: 991 Bytes
9d66133 6272eef 9d66133 6272eef | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | create table if not exists render_jobs (
task_id text primary key, -- Celery task id
kind text not null, -- render | edit | clip
label text, -- human summary, e.g. "Candidate 2 · 6 clips"
asset_id uuid, -- generation it belongs to, for linking back
render_id uuid, -- source render for edit/clip; result once ready
file_name text, -- storage key of the result, for a playable URL
status text not null default 'running', -- running | ready | failed
error text,
progress smallint,
stage text,
created_at timestamptz not null default now(),
updated_at timestamptz not null default now()
);
create index if not exists render_jobs_recent_idx
on render_jobs (created_at desc);
alter table render_jobs add column if not exists progress smallint;
alter table render_jobs add column if not exists stage text;
|