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 63d7be7 commit 51d999d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions backend/models/schemas/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,17 @@ 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, dialect: 'mysql2',
dialectModule: require('mysql2')});
const sequelize = new Sequelize(
'matriculai',
'root',
'banco',
{
host: '104.154.26.234',
dialect: 'mysql',
dialectModule: require('mysql2')// Por exemplo, 'mysql', 'postgres', 'sqlite', etc.
// Outras opções, se necessário
}
);


fs
Expand Down

0 comments on commit 51d999d

Please sign in to comment.