autoload entities in prod too
This commit is contained in:
parent
7bde981f60
commit
a37604fedd
@ -13,5 +13,6 @@ export const config: TypeOrmModuleOptions =
|
|||||||
: {
|
: {
|
||||||
type: 'postgres',
|
type: 'postgres',
|
||||||
url: process.env.DATABASE_URL,
|
url: process.env.DATABASE_URL,
|
||||||
|
autoLoadEntities: true,
|
||||||
ssl: { rejectUnauthorized: false },
|
ssl: { rejectUnauthorized: false },
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user