TypeORM migration generation
Thetypeorm-migration tool is used to generate, apply and revert database migrations. It follows the conventions below.
- The migrations are generated in the
db/migrationsfolder. - The database connection is inferred from the
DB_XXXenvironment variables. - All entities should be exported from
lib/modelcommonjs module, i.e. the entity classes must be compiled from TypeScript.

