import { registerAs } from '@nestjs/config';

export default registerAs('database', () => {
  return {
    type: 'mysql',
    logging: false, //set to true to log all queries
    host: 'localhost',
    port: 3306,
    username: 'jobvumi_job',
    password: 'Ubnsoft1@#',
    database: 'jobvumi_job_dev',
    autoLoadEntities: true,
    entities: [],
    synchronize: false,
    default: true, //set up a default connection
  };
});
