<commit_before>const Sequelize = require('sequelize')
const creds = require('./credentials')  // grabbing the data from credentials.json
/* NOTE: that file is gitignored, add instructions on how to get
         username and password!
*/

// creates database connection credentials needed to connect to DB via Sequelize
const dburl = `postgres://${creds.username}:${creds.password}@<EMAIL>:5432/sritpzob`

// MARK, connect our db here!;
const dbConnection = new Sequelize('dburl')

// Don't delete. May be useful later.
// db.on('connected', function () {
//   console.log('Connected to database successfully.');
// });

// db.on('disconnected', function () {
//   console.log('Disconnected from database!');
// });

// db.on('error', function (err) {
//   console.log('Connectioned failed with error:', err);
// });

// process.on('SIGINT', function () {
//   db.close(function () {
//     console.log('Process terminated. SOME DUDE PRESSED CONTROL+C!?');
//     process.exit(0);
//   });
// });

// process.once('SIGUSR2', function () {
//   db.close(function () {
//     console.log('Process terminated by nodemon.');
//     process.kill(process.pid, 'SIGUSR2');
//   });
// });
module.exports = dbConnection

require('../api/poi/poi.model.js')
require('../api/users/users.model.js')
require('../api/reviews/reviews.model.js')<commit_msg>[fix] add semicolons back, linter malfunction<commit_after>const Sequelize = require('sequelize');
const creds = require('./credentials');  // grabbing the data from credentials.json
/* NOTE: that file is gitignored, add instructions on how to get
         username and password!
*/

// creates database connection credentials needed to connect to DB via Sequelize
const dburl = `postgres://${creds.username}:${creds.password}@<EMAIL>:5432/sritpzob`

// MARK, connect our db here!;
const dbConnection = new Sequelize('dburl');

// Don't delete. May be useful later.
// db.on('connected', function () {
//   console.log('Connected to database successfully.');
// });

// db.on('disconnected', function () {
//   console.log('Disconnected from database!');
// });

// db.on('error', function (err) {
//   console.log('Connectioned failed with error:', err);
// });

// process.on('SIGINT', function () {
//   db.close(function () {
//     console.log('Process terminated. SOME DUDE PRESSED CONTROL+C!?');
//     process.exit(0);
//   });
// });

// process.once('SIGUSR2', function () {
//   db.close(function () {
//     console.log('Process terminated by nodemon.');
//     process.kill(process.pid, 'SIGUSR2');
//   });
// });
module.exports = dbConnection

require('../api/poi/poi.model.js');
require('../api/users/users.model.js');
require('../api/reviews/reviews.model.js');
{'fraction_non_alphanumeric': 0.19536423841059603, 'fraction_numerical': 0.0051508462104488595, 'mean_word_length': 3.5166112956810633, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2730426', 'n_tokens_mistral': 867, 'n_tokens_neox': 848, 'n_words': 198}