Download tasks/contract-version-restore-comments/tests/schema.sql from VettoAI/terminal-tasks-open: direct link, hf CLI and curl.
- Browser
- Download file 628 Bytes
-
https://huggingface.co/datasets/VettoAI/terminal-tasks-open/resolve/main/tasks/contract-version-restore-comments/tests/schema.sql
- Command line
-
hf download hf://datasets/VettoAI/terminal-tasks-open/tasks/contract-version-restore-comments/tests/schema.sql
-
curl -L -o schema.sql https://huggingface.co/datasets/VettoAI/terminal-tasks-open/resolve/main/tasks/contract-version-restore-comments/tests/schema.sql
628 Bytes
| CREATE TABLE contracts(id text primary key, ydoc bytea not null); | |
| CREATE TABLE versions(id text primary key, contract_id text not null, number int not null, kind text not null check (kind in ('snapshot','json')), snapshot bytea null, json jsonb null, created_at timestamptz); | |
| CREATE TABLE comments(id text primary key, contract_id text not null, clause_id text not null, quoted_text text not null, start_pos bytea not null, end_pos bytea not null, created_at timestamptz); | |
| CREATE TABLE comment_contexts(comment_id text primary key references comments(id), ydoc bytea not null, start_pos bytea not null, end_pos bytea not null); | |