You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just a question if it would be possible to support SQLite instead of PostgreSQL. For individual installations and development this may simplify things.
Is there any particular reason to use Postgres?
Are there any difficulties foreseen in using SQLite?
The text was updated successfully, but these errors were encountered:
Related to OpenHealthForAll#49
Add support for SQLite as an alternative to PostgreSQL.
* **docker-compose.yaml**
- Add a new service for SQLite.
- Update the `app` service to use SQLite if specified.
- Add a volume for SQLite data.
* **prisma/schema.prisma**
- Update the `datasource db` block to support both PostgreSQL and SQLite.
* **src/lib/prisma.ts**
- Update the `createPrismaClient` function to support both PostgreSQL and SQLite.
* **.env.example**
- Add an example `DATABASE_URL` for SQLite.
Just a question if it would be possible to support SQLite instead of PostgreSQL. For individual installations and development this may simplify things.
Is there any particular reason to use Postgres?
Are there any difficulties foreseen in using SQLite?
The text was updated successfully, but these errors were encountered: