Database overview

  • Engine: PostgreSQL
  • Access: Via Sequelize models in ethica-api/src/models/
  • Migrations: Managed outside automatic sync (synchronize: false in production-style config)

Principles

  • One logical database per environment unless you explicitly shard (document if you do).
  • Model classes map to tables; use tableName in @Table for the physical name.

See also