Skip to content

Commit

Permalink
Update typeorm connection options to only look for javascript entitie…
Browse files Browse the repository at this point in the history
…s. (#83)

Signed-off-by: Jeff Kennedy <[email protected]>
  • Loading branch information
Jeff Kennedy authored Jul 26, 2021
1 parent 2bf62f3 commit f2ef4d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ormconfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function OrmConfig(): DynamicModule {
type: 'postgres',
synchronize: false,
migrationsRun: true,
entities: ['src/db/entity/**/*.ts', 'dist/db/entity/**/*.js'],
entities: ['dist/db/entity/**/*.js'],
migrations: ['dist/db/migration/**/*.js'],
host: process.env.POSTGRES_HOST,
username: process.env.POSTGRES_USER,
Expand Down

0 comments on commit f2ef4d7

Please sign in to comment.