Skip to content

Commit

Permalink
Added migrationsTransactionMode: 'each' to commonSettings in app.module
Browse files Browse the repository at this point in the history
  • Loading branch information
leolazz committed Dec 23, 2021
1 parent 5cfa449 commit 2db24d3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ import * as Joi from 'joi';
const commonSettings = {
logging: true,
migrationsRun: true,
migrationsTransactionMode: 'each',
synchronize: false,
entities: [__dirname + '/dal/entity/**/*.*.*'],
};
Expand Down

0 comments on commit 2db24d3

Please sign in to comment.