Spaces:
Running
Running
Download scripts/render_jobs.sql from userIdc2024/creative-brain-os: direct link, hf CLI and curl.
- Browser
- Download file 991 Bytes
-
https://huggingface.co/spaces/userIdc2024/creative-brain-os/resolve/main/scripts/render_jobs.sql
- Command line
-
hf download hf://spaces/userIdc2024/creative-brain-os/scripts/render_jobs.sql
-
curl -L -o render_jobs.sql https://huggingface.co/spaces/userIdc2024/creative-brain-os/resolve/main/scripts/render_jobs.sql
991 Bytes
| 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; | |