Spaces:
Runtime error
Runtime error
Download init-db.sql from samarthnaikk/finsight1: direct link, hf CLI and curl.
- Browser
- Download file 584 Bytes
-
https://huggingface.co/spaces/samarthnaikk/finsight1/resolve/main/init-db.sql
- Command line
-
hf download hf://spaces/samarthnaikk/finsight1/init-db.sql
-
curl -L -o init-db.sql https://huggingface.co/spaces/samarthnaikk/finsight1/resolve/main/init-db.sql
584 Bytes
| -- FinSight Database Initialization Script | |
| -- This script is executed only on first container startup | |
| -- It ensures the database and user exist with proper permissions | |
| -- The database and user are already created via environment variables | |
| -- This script can be used for additional initialization if needed | |
| -- Grant all privileges on the database (already done by default, but explicit) | |
| GRANT ALL PRIVILEGES ON DATABASE finsight_db TO finsight_user; | |
| -- Note: Django migrations will handle table creation | |
| -- Tables are created automatically when running: | |
| -- python manage.py migrate | |