<commit_before>import definedSequelizeDb from './define-sequelize-db';
import LocationModel from './LocationModel';
/**
 * Init / create location table
 */
export default async function initializeDatabase () {
  try {
    await definedSequelizeDb.authenticate();
  } catch (err) {
    console.log('Unable to connect to the database:', err);
  }
  try {
    // await LocationModel.sync({ alter: false });
  } catch (err) {
    console.log('Unable to sync database:', err);
  }<commit_msg>keep syncing as it was before, heroku flushes postgres<commit_after>import definedSequelizeDb from './define-sequelize-db';
import LocationModel from './LocationModel';
/**
 * Init / create location table
 */
export default async function initializeDatabase () {
  try {
    await definedSequelizeDb.authenticate();
  } catch (err) {
    console.log('Unable to connect to the database:', err);
  }
  try {
    await LocationModel.sync({ alter: true });
  } catch (err) {
    console.log('Unable to sync database:', err);
  }
{'fraction_non_alphanumeric': 0.12957467853610286, 'fraction_numerical': 0.0, 'mean_word_length': 3.8653846153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5383798', 'n_tokens_mistral': 291, 'n_tokens_neox': 290, 'n_words': 90}