<commit_before>class FixPrefixKey < ActiveRecord::Migration
  def self.up
    change_column :profiles, :prefix_key, :string, :default=>""
    change_column :profiles, :user_id, :integer
    
    Profile.record_timestamps=false
    Profile.all.each do |p|
      p.update_attribute(:prefix_key,"") if p.prefix_key.nil?
    end
  end

  def self.down
   
  end
end<commit_msg>Try to fix profile migration<commit_after>class FixPrefixKey < ActiveRecord::Migration
  def self.up
    change_column :profiles, :prefix_key, :string, :default=>""
    change_column :profiles, :user_id, :integer
    
    Profile.reset_column_information
    Profile.record_timestamps=false

    Profile.all.each do |p|
      p.update_attribute(:prefix_key,"") if p.prefix_key.nil?
    end
  end

  def self.down
   
  end
end
{'fraction_non_alphanumeric': 0.10137672090112641, 'fraction_numerical': 0.0, 'mean_word_length': 3.7058823529411766, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2390852', 'n_tokens_mistral': 267, 'n_tokens_neox': 265, 'n_words': 58}