<commit_before>class RenameContactTagLinksToItemTagLinks < ActiveRecord::Migration[5.0]
  def change
    #rename_table :contact_tag_links, :item_tag_links

    #add_column    :item_tag_links, :item_type,  :string,  :after => :contact_id, :default => 'Contact', :index => true

    remove_foreign_key :item_tag_links, :column => :contact_id
    rename_column      :item_tag_links, :contact_id, :item_id
  end
end<commit_msg>end of fix migration<commit_after>class RenameContactTagLinksToItemTagLinks < ActiveRecord::Migration[5.0]
  def change
    rename_table :contact_tag_links, :item_tag_links

    add_column :item_tag_links, :item_type,  :string,  :after => :contact_id, :default => 'Contact', :index => true

    remove_foreign_key :item_tag_links, :column => :contact_id
    rename_column      :item_tag_links, :contact_id, :item_id
  end
end
{'fraction_non_alphanumeric': 0.10377358490566038, 'fraction_numerical': 0.0047169811320754715, 'mean_word_length': 5.480916030534351, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '2371685', 'n_tokens_mistral': 292, 'n_tokens_neox': 288, 'n_words': 58}