Spaces:
Runtime error
Runtime error
Download database/migration_settings.sql from dazat-knight/nexa-server: direct link, hf CLI and curl.
- Browser
- Download file 257 Bytes
-
https://huggingface.co/spaces/dazat-knight/nexa-server/resolve/main/database/migration_settings.sql
- Command line
-
hf download hf://spaces/dazat-knight/nexa-server/database/migration_settings.sql
-
curl -L -o migration_settings.sql https://huggingface.co/spaces/dazat-knight/nexa-server/resolve/main/database/migration_settings.sql
257 Bytes
| -- Migration to support Category archiving | |
| ALTER TABLE public.categories | |
| ADD COLUMN IF NOT EXISTS is_archived BOOLEAN DEFAULT FALSE; | |
| -- Ensure existing categories are not archived | |
| UPDATE public.categories SET is_archived = FALSE WHERE is_archived IS NULL; | |