Skip to content

Commit

Permalink
fix: dirname
Browse files Browse the repository at this point in the history
  • Loading branch information
shikharvashistha authored May 31, 2022
1 parent 784df7a commit 298f980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database.provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export const DatabaseProviders = [
database: "postgres",
password: "postgres",
username: "postgres",
entities: [__dirname + "./schema/*.entity{.ts,.js}"],
entities: [__dirname + "./entities/*.ts"],
synchronize: true,
});
return dataSource.initialize();
Expand Down

0 comments on commit 298f980

Please sign in to comment.