You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
253 B
12 lines
253 B
4 days ago
|
const {
|
||
|
Sequelize
|
||
|
} = require("sequelize")
|
||
|
|
||
|
const sequelize = new Sequelize(process.env.DB_NAME, process.env.DB_USER, process.env.DB_PASSWORD, {
|
||
|
host: process.env.DB_HOST,
|
||
|
dialect: "mysql",
|
||
|
logging: false
|
||
|
});
|
||
|
|
||
|
|
||
|
module.exports = sequelize
|