import { ConnectionOptions } from 'typeorm' ; import { getDBConnectionOptions } from '@energyweb/origin-backend-utils' ; const config = { ... ( getDBConnectionOptions ( ) as ConnectionOptions ) , entities : [ 'src/**/*.entity.ts' ] , synchronize : false , migrationsRun : true , migrations : [ 'migrations/*.ts' ] , migrationsTableName : 'migrations_device_registry_irec_form' , cli : { migrationsDir : 'migrations' } } ; export = config ;