We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 72a3ee3 commit 161421eCopy full SHA for 161421e
generators/with-postgres-typeorm/templates/src/db/postgres.ts
@@ -2,16 +2,16 @@ import { createConnection } from 'typeorm';
2
import logger from '@boringcodes/utils/logger';
3
4
import config from '../config/postgres';
5
-// TODO: import schemas
6
-// import Thing from '../components/things/schema';
+// TODO: import models
+// import Thing from '../components/things/model';
7
8
// connect postgres
9
const connect = async (): Promise<void> => {
10
try {
11
await createConnection({
12
type: 'postgres',
13
url: config.uri,
14
- // TODO: register schemas to connection
+ // TODO: register models to connection
15
// entities: [Thing],
16
synchronize: true,
17
});
0 commit comments