<commit_before>class CreateBatchEntries < ActiveRecord::Migration
  def change
    create_table :batch_entries do |t|
      t.belongs_to :batch_registries, index: true
      t.text 'payload', limit: 4294967295
      t.boolean 'complete'
      t.boolean 'error'
      t.string 'current_status'
      t.string 'error_message'
      t.string 'media_object_pid'
      t.integer 'position', index: true
      t.timestamps
    end
  end
end<commit_msg>Limit BatchEntry payload field to 1GB so it works with postgres<commit_after>class CreateBatchEntries < ActiveRecord::Migration
  def change
    create_table :batch_entries do |t|
      t.belongs_to :batch_registries, index: true
      t.text 'payload', limit: 1_073_741_823
      t.boolean 'complete'
      t.boolean 'error'
      t.string 'current_status'
      t.string 'error_message'
      t.string 'media_object_pid'
      t.integer 'position', index: true
      t.timestamps
    end
  end
end
{'fraction_non_alphanumeric': 0.08253968253968254, 'fraction_numerical': 0.022222222222222223, 'mean_word_length': 3.0952380952380953, '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': '669171', 'n_tokens_mistral': 313, 'n_tokens_neox': 301, 'n_words': 79}