Configuration
Database
Choose between PostgreSQL, Turso with Embedded Replicas, or SQLite
Implementation
- Database Migration: AtlasGo
- SQL generation: sqlc
- Database: PostgreSQL, SQLite, or Turso
Basic Flow
- Spin up the docker compose.
- Make changes to the
service-core/storage/schema.sql
file. - Run AtlasGo migration:
- Modify
service-core/storage/queries.sql
file. - Run sqlc to generate the SQL code:
Troubleshooting
- When running Docker on WSL2, the SQLite file may not work. In that case, you probably need to exclude it from volumes:
Need help?
Visit our discord server to ask any questions, make suggestions and give feedback :).