{"size": 350, "ext": "js", "max_stars_repo_path": "server/common/db.js", "max_stars_repo_name": "ParanormalCoder/crypto-dashboard", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/common/db.js", "max_issues_repo_name": "ParanormalCoder/crypto-dashboard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/common/db.js", "max_forks_repo_name": "ParanormalCoder/crypto-dashboard", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 20.5882352941, "max_line_length": 38, "alphanum_fraction": 0.5971428571}
const Sequelize = require('sequelize')

const conf = require('../conf')

module.exports = new Sequelize(
    conf.mysql.name,
    conf.mysql.username,
    conf.mysql.password,
    {
        dialect: conf.mysql.dialect,
        pool: conf.mysql.pool,
        port: conf.mysql.port,
        host: conf.mysql.host,
        sync: { force: true }
    }
)
