Spaces:
Runtime error
Runtime error
Download db/setup.sql from dia-gov/AgentGPT-Web-GUI: direct link, hf CLI and curl.
- Browser
- Download file 454 Bytes
-
https://huggingface.co/spaces/dia-gov/AgentGPT-Web-GUI/resolve/main/db/setup.sql
- Command line
-
hf download hf://spaces/dia-gov/AgentGPT-Web-GUI/db/setup.sql
-
curl -L -o setup.sql https://huggingface.co/spaces/dia-gov/AgentGPT-Web-GUI/resolve/main/db/setup.sql
454 Bytes
| -- Prisma requires DB creation privileges to create a shadow database (https://pris.ly/d/migrate-shadow) | |
| -- This is not available to our user by default, so we must manually add this | |
| -- Create the user | |
| CREATE USER IF NOT EXISTS 'reworkd_platform'@'%' IDENTIFIED BY 'reworkd_platform'; | |
| -- Grant the necessary permissions | |
| GRANT CREATE, ALTER, DROP, INSERT, UPDATE, DELETE, SELECT ON *.* TO 'reworkd_platform'@'%'; | |
| -- Apply the changes | |
| FLUSH PRIVILEGES; | |