mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
Start using sequelize migrations
This commit is contained in:
15
backend/src/config/database.js
Normal file
15
backend/src/config/database.js
Normal file
@@ -0,0 +1,15 @@
|
||||
require("dotenv/config");
|
||||
|
||||
module.exports = {
|
||||
define: {
|
||||
charset: "utf8mb4",
|
||||
collate: "utf8mb4_bin",
|
||||
},
|
||||
dialect: "mysql",
|
||||
timezone: "-03:00",
|
||||
host: process.env.DB_HOST,
|
||||
database: process.env.DB_NAME,
|
||||
username: process.env.DB_USER,
|
||||
password: process.env.DB_PASS,
|
||||
logging: true,
|
||||
};
|
||||
Reference in New Issue
Block a user