<commit_before>class CreateImports < ActiveRecord::Migration[5.0]
  def change
    create_table :imports do |t|
      t.string :source_id
      t.string :source_name
      t.jsonb :data
      t.boolean :pinned, default: false
      t.references :connection, foreign_key: true
      t.references :developer, foreign_key: true
      t.timestamps
    end

    add_index :imports, [:source_name, :source_id, :connection_id], unique: true
    add_index :imports, :data, using: :gin
  end
end<commit_msg>Update fields<commit_after>class CreateImports < ActiveRecord::Migration[5.0]
  def change
    create_table :imports do |t|
      t.string :source_id
      t.string :source_name
      t.jsonb :data
      t.boolean :pinned, default: false
      t.references :connection, foreign_key: true
      t.references :developer, foreign_key: true
      t.timestamps
    end

    add_index :imports, [:source_name, :source_id, :connection_id], unique: true
    add_index :imports, :source_id
    add_index :imports, :data, using: :gin
  end
end
{'fraction_non_alphanumeric': 0.09602327837051407, 'fraction_numerical': 0.0038797284190106693, 'mean_word_length': 3.3544303797468356, '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': '6635917', 'n_tokens_mistral': 345, 'n_tokens_neox': 342, 'n_words': 89}