Download agent_workspace/supabase/tables/profiles.sql from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 370 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/agent_workspace/supabase/tables/profiles.sql
- Command line
-
hf download hf://luom2645/agent-workspace/agent_workspace/supabase/tables/profiles.sql
-
curl -L -o profiles.sql https://huggingface.co/luom2645/agent-workspace/resolve/main/agent_workspace/supabase/tables/profiles.sql
370 Bytes
| CREATE TABLE profiles ( | |
| id UUID PRIMARY KEY REFERENCES auth.users(id) ON DELETE CASCADE, | |
| role TEXT NOT NULL DEFAULT 'user' CHECK (role IN ('admin', | |
| 'reseller', | |
| 'user')), | |
| reseller_id UUID, | |
| full_name TEXT, | |
| avatar_url TEXT, | |
| device_limit INTEGER DEFAULT 1, | |
| created_at TIMESTAMPTZ DEFAULT NOW(), | |
| updated_at TIMESTAMPTZ DEFAULT NOW() | |
| ); |