require('dotenv').config();

module.exports = {
	development: {
		dialect: 'mysql',
		host: process.env.DB_HOST_DEV,
		username: process.env.DB_USER_DEV,
		password: process.env.DB_PASS_DEV,
		database: process.env.DB_DATABASE_DEV,
		timezone: '+08:00',
	},
	test: {
		dialect: 'mysql',
		host: process.env.DB_HOST,
		username: process.env.DB_USER,
		password: process.env.DB_PASS,
		database: process.env.DB_DATABASE,
		timezone: '+08:00',
	},
	production: {
		dialect: 'mysql',
		host: process.env.DB_HOST_PROD,
		username: process.env.DB_USER_PROD,
		password: process.env.DB_PASS_PROD,
		database: process.env.DB_DATABASE_PROD,
		timezone: '+08:00',
	},
};
