module.exports = {
  production: {
    dialect: 'postgres',
    username: process.env.DB_USER,
    password: process.env.DB_PASS,
    database: process.env.DB_NAME,
    host: process.env.DB_HOST,
    port: process.env.DB_PORT,
    logging: false,
    seederStorage: 'sequelize',
    migrationStorage: 'sequelize',
    migrationStorageTableName: 'SequelizeMeta',
  },
  development: {
    username: 'postgres',
    dialect: 'postgres',
    password: '',
    database: 'db_tour_builder_platform',
    host: process.env.DB_HOST || 'localhost',
    logging: console.log,
    seederStorage: 'sequelize',
    migrationStorage: 'sequelize',
    migrationStorageTableName: 'SequelizeMeta',
  },
  dev_stage: {
    dialect: 'postgres',
    username: process.env.DB_USER,
    password: process.env.DB_PASS,
    database: process.env.DB_NAME,
    host: process.env.DB_HOST,
    port: process.env.DB_PORT,
    logging: console.log,
    seederStorage: 'sequelize',
    migrationStorage: 'sequelize',
    migrationStorageTableName: 'SequelizeMeta',
  },
};
