<commit_before>class CreateProducts < ActiveRecord::Migration
  def self.up
	  create_table :products do |t|
	    t.string :name, :default => "", :null => false
	    t.string :description
	    t.decimal :price, :precision => 8, :scale => 2, :null => false
	    t.integer :category_id
      t.integer :viewable_id
      t.timestamps
    end
  end

  def self.down
    drop_table "products"
  end
end<commit_msg>Changed description field to text (to allow for longer descriptions in psql)<commit_after>class CreateProducts < ActiveRecord::Migration
  def self.up
	  create_table :products do |t|
	    t.string :name, :default => "", :null => false
	    t.text :description
	    t.decimal :price, :precision => 8, :scale => 2, :null => false
	    t.integer :category_id
      t.integer :viewable_id
      t.timestamps
    end
  end

  def self.down
    drop_table "products"
  end
end
{'fraction_non_alphanumeric': 0.10669693530079455, 'fraction_numerical': 0.004540295119182747, 'mean_word_length': 3.0458715596330275, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, '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': '3082960', 'n_tokens_mistral': 295, 'n_tokens_neox': 275, 'n_words': 84}