require('dotenv').config(); module.exports = { development: { username: process.env.DB_USER, password: process.env.DB_PASS, database: process.env.DB_NAME, host: process.env.DB_HOST, dialect: "mysql", migrationStorage: "sequelize", // マイグレーションの保存形式 seederStorage: "sequelize", // シードデータの保存形式 migrationStoragePath: "src/migrations", // マイグレーションのディレクトリ seederStoragePath: "src/seeders" // シードデータのディレクトリ }, production: { username: process.env.DB_USER, password: process.env.DB_PASS, database: process.env.DB_NAME, host: process.env.DB_HOST, dialect: "mysql", migrationStorage: "sequelize", seederStorage: "sequelize", migrationStoragePath: "src/migrations", seederStoragePath: "src/seeders" } };