Spaces:
Paused
Paused
File size: 661 Bytes
9176e00 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | create table if not exists public.artifacts (
id uuid primary key default gen_random_uuid(),
model_id text not null,
label text not null,
provider text,
vendor text,
source_type text not null check (source_type in ('model', 'agent', 'baseline')),
prompt_version text not null,
source_ref text,
storage_path text not null,
created_at timestamptz not null default now()
);
create unique index if not exists artifacts_model_id_unique_idx on public.artifacts (model_id);
create index if not exists artifacts_created_at_idx on public.artifacts (created_at desc);
-- Create storage bucket manually in Supabase dashboard:
-- name: artifacts-html
|