Skip to content

Commit

Permalink
vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
yaskisoba committed Dec 13, 2023
1 parent 30073c6 commit 5ca9c55
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/models/schemas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ const basename = path.basename(__filename);
const config = require(__dirname + '/../../config/config.js');
const db = {};

let sequelize = new Sequelize(config.database, config.username, config.password, config);
let sequelize = new Sequelize(config.database, config.username, config.password, {config, dialect: 'mysql',
dialectModule: require('mysql2')});


fs
.readdirSync(__dirname)
Expand Down

0 comments on commit 5ca9c55

Please sign in to comment.