Spaces:
Running
Running
Download bioai-platform/supabase/migrations/002_add_share_token.sql from Samad14/bio-nexus-api: direct link, hf CLI and curl.
- Browser
- Download file 224 Bytes
-
https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/main/bioai-platform/supabase/migrations/002_add_share_token.sql
- Command line
-
hf download hf://spaces/Samad14/bio-nexus-api/bioai-platform/supabase/migrations/002_add_share_token.sql
-
curl -L -o 002_add_share_token.sql https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/main/bioai-platform/supabase/migrations/002_add_share_token.sql
224 Bytes
| -- Add share_token to jobs table for public share links | |
| ALTER TABLE jobs ADD COLUMN IF NOT EXISTS share_token text UNIQUE; | |
| CREATE INDEX IF NOT EXISTS idx_jobs_share_token ON jobs(share_token) WHERE share_token IS NOT NULL; | |