Description
Configure a database module that bootstraps TypeORM with PostgreSQL, registers all entities, and integrates database migrations into the development and deployment workflow. A solid database setup from the start prevents painful schema drift and ensures the team can evolve the data model confidently as new modules are added.
Acceptance Criteria
Description
Configure a
databasemodule that bootstraps TypeORM with PostgreSQL, registers all entities, and integrates database migrations into the development and deployment workflow. A solid database setup from the start prevents painful schema drift and ensures the team can evolve the data model confidently as new modules are added.Acceptance Criteria
databasemodule is scaffolded atsrc/database/TypeOrmModule.forFeaturenpm run migration:generate,migration:run, andmigration:revertscripts are availablesynchronizeis set tofalsein all non-local environments