<commit_before>class ChangeFieldsToBeTextInParameters < ActiveRecord::Migration[5.2]
  def up
    change_column :parameters, :init, :text, default: ""
    change_column :parameters, :lower, :text, default: ""
    change_column :parameters, :upper, :text, default: ""
  end

  def down
    change_column :parameters, :init, :string, default: ""
    change_column :parameters, :lower, :string, default: ""
    change_column :parameters, :upper, :string, default: ""
  end
end
<commit_msg>fix MySQL text cannot have default values<commit_after>class ChangeFieldsToBeTextInParameters < ActiveRecord::Migration[5.2]
  def up
    change_column :parameters, :init, :text, default: nil
    change_column :parameters, :lower, :text, default: nil
    change_column :parameters, :upper, :text, default: nil
  end

  def down
    change_column :parameters, :init, :string, default: ""
    change_column :parameters, :lower, :string, default: ""
    change_column :parameters, :upper, :string, default: ""
  end
end

{'fraction_non_alphanumeric': 0.11964107676969092, 'fraction_numerical': 0.003988035892323031, 'mean_word_length': 4.940828402366864, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2649051', 'n_tokens_mistral': 300, 'n_tokens_neox': 298, 'n_words': 90}