<commit_before>class ConvertToInnodb < ActiveRecord::Migration
  TABLES = [:bugs, :comments, :cpes, :cpes_cves, :cve_assignments, :cve_changes, :cve_comments, :cve_references, :cves, :glsas, :packages, :references, :revisions, :sessions, :users]
  def self.up
    TABLES.each { |table|
        ActiveRecord::Migration::say "Converting table #{table} to InnoDB engine"
        execute("ALTER TABLE #{table.to_s} TYPE = InnoDB")
    }
  end

  def self.down
    TABLES.each { |table|
        ActiveRecord::Migration::say "Converting table #{table} to MyISAM engine"
        execute("ALTER TABLE #{table.to_s} TYPE = MyISAM")
    }
  end
end<commit_msg>Quote table names as "references" is a keyword.<commit_after>class ConvertToInnodb < ActiveRecord::Migration
  TABLES = [:bugs, :comments, :cpes, :cpes_cves, :cve_assignments, :cve_changes, :cve_comments, :cve_references, :cves, :glsas, :packages, :references, :revisions, :sessions, :users]
  def self.up
    TABLES.each { |table|
        ActiveRecord::Migration::say "Converting table #{table} to InnoDB engine"
        execute("ALTER TABLE `#{table.to_s}` TYPE = InnoDB")
    }
  end

  def self.down
    TABLES.each { |table|
        ActiveRecord::Migration::say "Converting table #{table} to MyISAM engine"
        execute("ALTER TABLE `#{table.to_s}` TYPE = MyISAM")
    }
  end
end
{'fraction_non_alphanumeric': 0.13378176382660686, 'fraction_numerical': 0.0, 'mean_word_length': 4.130268199233717, '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': '925746', 'n_tokens_mistral': 470, 'n_tokens_neox': 468, 'n_words': 114}