import dotenv from 'dotenv';

dotenv.config();

export const development = {
  username: process.env.DB_USER || 'root',
  password: process.env.DB_PASSWORD || 'hitomisan',
  database: process.env.DB_NAME || 'trainingdiary',
  host: process.env.DB_HOST,
  dialect: process.env.DB_DIALECT,
  define: {
    freezeTableName: true,
    underscored: true,
    underscoredAll: true,
  },
};
 