<commit_before>'use strict';

module.exports = {
  up: (queryInterface, Sequelize) => Promise.all([
    // Remove unneeded columns
    queryInterface.removeColumn('Games', 'game_number'),
    queryInterface.removeColumn('Games', 'sr_change'),
    queryInterface.removeColumn('Games', 'streak'),
    queryInterface.removeColumn('Games', 'score'),
    queryInterface.removeColumn('Games', 'group_size'),
    queryInterface.removeColumn('Games', 'heroes'),
    queryInterface.removeColumn('Games', 'notes'),

    //add missing columns
    queryInterface.addColumn('Games', 'outcome', Sequelize.TEXT),
  ]),

  down: (queryInterface, Sequelize) => Promise.all([
    queryInterface.addColumn('Games', 'game_number', Sequelize.INTEGER),
    queryInterface.addColumn('Games', 'sr_change', Sequelize.INTEGER),
    queryInterface.addColumn('Games', 'streak', Sequelize.INTEGER),<commit_msg>remove map from games table<commit_after>'use strict';

module.exports = {
  up: (queryInterface, Sequelize) => Promise.all([
    // Remove unneeded columns
    queryInterface.removeColumn('Games', 'game_number'),
    queryInterface.removeColumn('Games', 'sr_change'),
    queryInterface.removeColumn('Games', 'streak'),
    queryInterface.removeColumn('Games', 'map'),
    queryInterface.removeColumn('Games', 'score'),
    queryInterface.removeColumn('Games', 'group_size'),
    queryInterface.removeColumn('Games', 'heroes'),
    queryInterface.removeColumn('Games', 'notes'),

    //add missing columns
    queryInterface.addColumn('Games', 'outcome', Sequelize.TEXT),
  ]),

  down: (queryInterface, Sequelize) => Promise.all([
    queryInterface.addColumn('Games', 'game_number', Sequelize.INTEGER),
    queryInterface.addColumn('Games', 'sr_change', Sequelize.INTEGER),
    queryInterface.addColumn('Games', 'streak', Sequelize.INTEGER),
    queryInterface.addColumn('Games', 'map', Sequelize.TEXT),
{'fraction_non_alphanumeric': 0.160042395336513, 'fraction_numerical': 0.0, 'mean_word_length': 5.671378091872792, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7146475', 'n_tokens_mistral': 573, 'n_tokens_neox': 564, 'n_words': 94}