Download supabase/tables/licenses.sql from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 465 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/supabase/tables/licenses.sql
- Command line
-
hf download hf://luom2645/agent-workspace/supabase/tables/licenses.sql
-
curl -L -o licenses.sql https://huggingface.co/luom2645/agent-workspace/resolve/main/supabase/tables/licenses.sql
465 Bytes
| CREATE TABLE licenses ( | |
| id UUID PRIMARY KEY DEFAULT gen_random_uuid(), | |
| user_id UUID NOT NULL, | |
| license_key TEXT UNIQUE NOT NULL, | |
| device_id TEXT, | |
| device_name TEXT, | |
| device_type TEXT CHECK (device_type IN ('desktop', | |
| 'mobile', | |
| 'tablet')), | |
| is_active BOOLEAN DEFAULT false, | |
| activated_at TIMESTAMP WITH TIME ZONE, | |
| expires_at TIMESTAMP WITH TIME ZONE, | |
| created_at TIMESTAMP WITH TIME ZONE DEFAULT timezone('utc', | |
| now()) | |
| ); |