mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #897 from gradido/bugfix_apollo
fix error with apollo, typeorm and build
This commit is contained in:
commit
9211f52d7f
@ -13,7 +13,7 @@ const connection = async (): Promise<Connection | null> => {
|
||||
username: CONFIG.DB_USER,
|
||||
password: CONFIG.DB_PASSWORD,
|
||||
database: CONFIG.DB_DATABASE,
|
||||
entities: [path.join(__dirname, 'entity', '*.ts')],
|
||||
entities: [path.join(__dirname, 'entity', '*.{ts,js}')],
|
||||
synchronize: false,
|
||||
})
|
||||
} catch (error) {}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user