import { DataSourceOptions } from 'typeorm'; export const OracleConfig: any = { user: 'Carnetsys', password: 'Carnet1234', connectString: '172.31.18.76/xe', // user: 'system', // password: 'root', // connectString: '192.168.1.96/xe', }; export const MssqlConfig: any = { // type: 'mssql', // server: 'localhost', // user: 'mssql1433', // password: 'root', // database: 'demo', server: '172.31.18.76', port: 1433, user: 'Carnetsys', password: 'Carnet1234', database: 'CarnetDB', // entities: [__dirname + '/**/*.entity{.ts,.js}'], // synchronize: true, options: { enableArithAbort: true, trustServerCertificate: true, encrypt:true }, }; export const MysqlConfig: DataSourceOptions = { type: 'mysql', host: 'localhost', port: 3306, username: 'root', password: 'root', database: 'demo', // entities: [__dirname + '/**/*.entity{.ts,.js}'], synchronize: true, };