<commit_before>class AddRepositoriesIsDiffEmailAttached < ActiveRecord::Migration
  def self.up
    add_column :repositories, :is_diff_email_attached, :boolean, :default => false, :null => false
    Repository.update_all("is_diff_email_attached = 1", "is_diff_email = 1")
  end

  def self.down
    remove_column :repositories, :is_diff_email_attached
  end
end<commit_msg>Fix ERROR:  operator does not exist: boolean = integer with Postgres<commit_after>class AddRepositoriesIsDiffEmailAttached < ActiveRecord::Migration
  def self.up
    add_column :repositories, :is_diff_email_attached, :boolean, :default => false, :null => false
    Repository.update_all("is_diff_email_attached = true", "is_diff_email = true")
  end

  def self.down
    remove_column :repositories, :is_diff_email_attached
  end
end
{'fraction_non_alphanumeric': 0.08798017348203221, 'fraction_numerical': 0.0024783147459727386, 'mean_word_length': 5.8474576271186445, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7147592', 'n_tokens_mistral': 265, 'n_tokens_neox': 256, 'n_words': 58}