autoload entities in prod too

This commit is contained in:
Joseph Ditton 2021-12-04 21:14:01 -07:00
parent 7bde981f60
commit a37604fedd

View File

@ -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 },
}; };