Skip to content

Commit

Permalink
Set extra values for PG
Browse files Browse the repository at this point in the history
  • Loading branch information
codicocodes committed Feb 6, 2024
1 parent c244b24 commit 271c9e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/back-nest/src/database.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import { pgOptions } from './config/postgres';
const entities = [__dirname + '/**/*.entity.{ts,js}'];

export const PostgresDataSource = new DataSource({
extra: { min: 0, max: 10 },
type: 'postgres',
synchronize: true,
entities,
Expand Down

0 comments on commit 271c9e2

Please sign in to comment.