<commit_before>'use strict'

module.exports = {
  up: function (queryInterface, Sequelize) {
    queryInterface.addColumn(
      'Rescues',
      'type',
      {
        type: Sequelize.ENUM('success', 'failure', 'invalid', 'other'),
        allowNull: false,
        defaultValue: 'other'
      }
    )


    queryInterface.addColumn(
      'Rescues',
      'status',
      {
        type: Sequelize.ENUM('open', 'inactive', 'closed'),
        allowNull: false,
        defaultValue: 'other'
      }
    )
  },

  down: function (queryInterface) {
    queryInterface.removeColumn('Rescues', 'type')
    queryInterface.removeColumn('Rescues', 'status')
  }
}<commit_msg>Use correct default value for status enum in migration<commit_after>'use strict'

module.exports = {
  up: function (queryInterface, Sequelize) {
    queryInterface.addColumn(
      'Rescues',
      'type',
      {
        type: Sequelize.ENUM('success', 'failure', 'invalid', 'other'),
        allowNull: false,
        defaultValue: 'other'
      }
    )


    queryInterface.addColumn(
      'Rescues',
      'status',
      {
        type: Sequelize.ENUM('open', 'inactive', 'closed'),
        allowNull: false,
        defaultValue: 'open'
      }
    )
  },

  down: function (queryInterface) {
    queryInterface.removeColumn('Rescues', 'type')
    queryInterface.removeColumn('Rescues', 'status')
  }
}
{'fraction_non_alphanumeric': 0.14202898550724638, 'fraction_numerical': 0.0, 'mean_word_length': 2.587012987012987, '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': '5323861', 'n_tokens_mistral': 431, 'n_tokens_neox': 429, 'n_words': 82}