import { Sequelize } from 'sequelize';
import { development } from './config.js';


const sequelize = new Sequelize(
  development.database,
  development.username,
  development.password,
  {
    host: development.host,
    dialect: development.dialect,
    define: development.define,
    logging: development.logging ?? false,
    storage: development.storage,
  }
);

export default sequelize;
