Download supabase/tables/writing_sessions.sql from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/supabase/tables/writing_sessions.sql
- Command line
-
hf download hf://luom2645/agent-workspace/supabase/tables/writing_sessions.sql
-
curl -L -o writing_sessions.sql https://huggingface.co/luom2645/agent-workspace/resolve/main/supabase/tables/writing_sessions.sql
511 Bytes
| CREATE TABLE writing_sessions ( | |
| id UUID PRIMARY KEY DEFAULT gen_random_uuid(), | |
| user_id UUID NOT NULL, | |
| project_id UUID, | |
| chapter_id UUID, | |
| session_start TIMESTAMP WITH TIME ZONE DEFAULT timezone('utc', | |
| now()), | |
| session_end TIMESTAMP WITH TIME ZONE, | |
| words_written INTEGER DEFAULT 0, | |
| session_type TEXT DEFAULT 'writing' CHECK (session_type IN ('writing', | |
| 'editing', | |
| 'planning', | |
| 'research')), | |
| created_at TIMESTAMP WITH TIME ZONE DEFAULT timezone('utc', | |
| now()) | |
| ); |