require("dotenv").config();

const {
  RDS_USERNAME,
  RDS_PASSWORD,
  RDS_DB_NAME,
  RDS_HOSTNAME,
  RDS_PORT,
  DIALECT,
  SEEDER_STORAGE
} = process.env;

module.exports = {
  development: {
    username: RDS_USERNAME,
    password: RDS_PASSWORD,
    database: RDS_DB_NAME,
    host: RDS_HOSTNAME,
    dialect: "mysql",
  },
  test: {
    username: RDS_USERNAME,
    password: RDS_PASSWORD,
    database: RDS_DB_NAME,
    host: RDS_HOSTNAME,
    port: RDS_PORT,
    dialect: DIALECT,
  },
  staging: {
    username: RDS_USERNAME,
    password: RDS_PASSWORD,
    database: RDS_DB_NAME,
    host: RDS_HOSTNAME,
    dialect: DIALECT,
  },
  production: {
    username: RDS_USERNAME,
    password: RDS_PASSWORD,
    database: RDS_DB_NAME,
    host: RDS_HOSTNAME,
    dialect: DIALECT,
  }
};
