Database overview
- Engine: PostgreSQL
- Access: Via Sequelize models in
ethica-api/src/models/ - Migrations: Managed outside automatic sync (
synchronize: falsein production-style config)
Principles
- One logical database per environment unless you explicitly shard (document if you do).
- Model classes map to tables; use
tableNamein@Tablefor the physical name.
See also
- ERD overview — diagrams and a high-level entity sketch.