Download agent_workspace/supabase/tables/licenses.sql from luom2645/agent-workspace: direct link, hf CLI and curl.
- Browser
- Download file 495 Bytes
-
https://huggingface.co/luom2645/agent-workspace/resolve/main/agent_workspace/supabase/tables/licenses.sql
- Command line
-
hf download hf://luom2645/agent-workspace/agent_workspace/supabase/tables/licenses.sql
-
curl -L -o licenses.sql https://huggingface.co/luom2645/agent-workspace/resolve/main/agent_workspace/supabase/tables/licenses.sql
495 Bytes
| CREATE TABLE licenses ( | |
| id UUID PRIMARY KEY DEFAULT gen_random_uuid(), | |
| license_key TEXT UNIQUE NOT NULL, | |
| status TEXT NOT NULL DEFAULT 'active' CHECK (status IN ('active', | |
| 'inactive', | |
| 'expired', | |
| 'revoked')), | |
| tier TEXT NOT NULL DEFAULT 'basic' CHECK (tier IN ('basic', | |
| 'pro', | |
| 'enterprise')), | |
| created_by UUID, | |
| max_devices INTEGER DEFAULT 1, | |
| expires_at TIMESTAMPTZ, | |
| created_at TIMESTAMPTZ DEFAULT NOW(), | |
| updated_at TIMESTAMPTZ DEFAULT NOW() | |
| ); |