Download supabase/tables/projects.sql from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 638 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/supabase/tables/projects.sql
- Command line
-
hf download hf://luom2645/agent-workspace/supabase/tables/projects.sql
-
curl -L -o projects.sql https://huggingface.co/luom2645/agent-workspace/resolve/main/supabase/tables/projects.sql
638 Bytes
| CREATE TABLE projects ( | |
| id UUID PRIMARY KEY DEFAULT gen_random_uuid(), | |
| user_id UUID NOT NULL, | |
| title TEXT NOT NULL, | |
| description TEXT, | |
| genre TEXT, | |
| tags TEXT[] DEFAULT '{}', | |
| status TEXT DEFAULT 'draft' CHECK (status IN ('draft', | |
| 'in_progress', | |
| 'completed', | |
| 'published', | |
| 'archived')), | |
| word_count INTEGER DEFAULT 0, | |
| target_word_count INTEGER, | |
| cover_image_url TEXT, | |
| language TEXT DEFAULT 'zh', | |
| is_public BOOLEAN DEFAULT false, | |
| created_at TIMESTAMP WITH TIME ZONE DEFAULT timezone('utc', | |
| now()), | |
| updated_at TIMESTAMP WITH TIME ZONE DEFAULT timezone('utc', | |
| now()) | |
| ); |