mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
tweak(rnd): Move to the PG within Supabase (#8085)
* move to supabase pg instance * remove postgres and bind supabase port * Updated setup - Switched db name to postgres to work with prisma studio - Added platform schema - Added Market-migartions - bound prisma studio port * remove studio port * updated .env * updated readmes --------- Co-authored-by: SwiftyOS <craigswift13@gmail.com>
This commit is contained in:
@@ -42,13 +42,10 @@ This is useful when running on docker so you can copy the secrets into the conta
|
||||
|
||||
## Database selection
|
||||
|
||||
### SQLite
|
||||
|
||||
By default, the server uses SQLite as the database. SQLite is a file-based database that is easy to set up and use. However, it is not recommended for production usecases where auth is required because that subsystem requires Postgres.
|
||||
|
||||
### PostgreSQL
|
||||
|
||||
For production use, it is recommended to use PostgreSQL as the database. You will swap the commands you use to generate and run prisma to the following
|
||||
We use a Supabase PostgreSQL as the database. You will swap the commands you use to generate and run prisma to the following
|
||||
|
||||
```bash
|
||||
poetry run prisma generate --schema postgres/schema.prisma
|
||||
|
||||
Reference in New Issue
Block a user