<commit_before>class AddPostsOriginalUpdatedAt < ActiveRecord::Migration
  def change
    add_column :posts, :original_updated_at, :datetime
  end
end
<commit_msg>Copy updated_at to original_updated_at for existing records<commit_after>class AddPostsOriginalUpdatedAt < ActiveRecord::Migration
  def change
    add_column :posts, :original_updated_at, :datetime

    execute 'UPDATE posts SET original_updated_at = updated_at'
  end
end

{'fraction_non_alphanumeric': 0.057208237986270026, 'fraction_numerical': 0.0, 'mean_word_length': 6.423728813559322, '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': '4821048', 'n_tokens_mistral': 125, 'n_tokens_neox': 123, 'n_words': 34}