<commit_before>class AddColumnsForPhoto < ActiveRecord::Migration
  def up
    add_column :assets, :photo_uid, :string
    add_column :assets, :photo_size, :integer
    add_column :assets, :photo_mime, :string
    add_column :assets, :photo_height, :integer
    add_column :assets, :photo_width, :intger

    remove_column :assets, :imagepath
  end

  def down
    add_column :assets, :imagepath, :string

    remove_column :assets, :photo_uid
    remove_column :assets, :photo_size
    remove_column :assets, :photo_mime
    remove_column :assets, :photo_height
    remove_column :assets, :photo_width
  end
end


<commit_msg>Remove unneeded columns <commit_after>class AddColumnsForPhoto < ActiveRecord::Migration
  def up
    add_column :assets, :photo_uid, :string
    add_column :assets, :photo_size, :integer

    remove_column :assets, :imagepath
  end

  def down
    add_column :assets, :imagepath, :string

    remove_column :assets, :photo_uid
    remove_column :assets, :photo_size
  end
end



{'fraction_non_alphanumeric': 0.08349900596421471, 'fraction_numerical': 0.0, 'mean_word_length': 4.385026737967914, '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': '4549077', 'n_tokens_mistral': 330, 'n_tokens_neox': 317, 'n_words': 86}