<commit_before>const dotenv = require('dotenv');

dotenv.config();
module.exports = {
  up(queryInterface) {
    return queryInterface.bulkInsert('Users', [
      {
        id: 1,
        username: process.env.USER_USERNAME,
        firstName: process.env.USER_FIRSTNAME,
        lastName: process.env.USER_LASTNAME,
        email: process.env.USER_EMAIL,
        password: <PASSWORD>,
        token: process.env.USER_TOKEN,
        roleId: process.env.USER_ROLEID,
        createdAt: new Date(),
        updatedAt: new Date()
      }
    ], {});
  },

  down(queryInterface) {
    return queryInterface.bulkDelete('Users',
      { username: [process.env.USER_USERNAME] }
    );
  }
};
<commit_msg>bug(heroku): fix user password<commit_after>const dotenv = require('dotenv');
const bcrypt = require('bcrypt');

dotenv.config();
module.exports = {
  up(queryInterface) {
    return queryInterface.bulkInsert('Users', [
      {
        id: 1,
        username: process.env.USER_USERNAME,
        firstName: process.env.USER_FIRSTNAME,
        lastName: process.env.USER_LASTNAME,
        email: process.env.USER_EMAIL,
        password: <PASSWORD>
        .hashSync(process.env.USER_PASSWORD, bcrypt.genSaltSync(8)),
        token: process.env.USER_TOKEN,
        roleId: process.env.USER_ROLEID,
        createdAt: new Date(),
        updatedAt: new Date()
      }
    ], { returning: true });
  },

  down(queryInterface) {
    return queryInterface.bulkDelete('Users',
      { username: [process.env.USER_USERNAME] }
    );
  }
};

{'fraction_non_alphanumeric': 0.1325065274151436, 'fraction_numerical': 0.0019582245430809398, 'mean_word_length': 2.72992700729927, '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': '4876202', 'n_tokens_mistral': 494, 'n_tokens_neox': 488, 'n_words': 80}