<commit_before>class CreateAppVersions < ActiveRecord::Migration
  def change
    create_table :app_versions do |t|
      t.string :app_name,                   :null => false, :default => ""
      t.string :version,                    :null => false, :default => ""
      t.string :short_version,              :null => false, :default => ""
      t.integer :beta_version,              :null => false, :default => 0
      t.string :icon_url,                   :null => false, :default => ""
      t.datetime :release_date
      t.text :change_log,                   :null => false, :default => ""

      t.timestamps
    end

    add_index :app_versions, :beta_version,             :unique => true
    add_index :app_versions, :app_name,                 :unique => true
    add_index :app_versions, :version,                  :unique => true
    add_index :app_versions, :short_version,            :unique => true
    add_index :app_versions, :release_date,             :unique => true
  end
end<commit_msg>changed app_version migrate<commit_after>class CreateAppVersions < ActiveRecord::Migration
  def change
    create_table :app_versions do |t|
      t.integer :beta_version,              :null => false, :default => 0
      t.string :app_name,                   :null => false, :default => ""
      t.string :version,                    :null => false, :default => ""
      t.string :short_version,              :null => false, :default => ""
      t.datetime :release_date
      t.text :change_log,                   :null => false, :default => ""
      t.string :icon_url
      t.string :itunes_artwork_url

      t.timestamps
    end

    add_index :app_versions, :app_name,                 :unique => false
    add_index :app_versions, :version,                  :unique => false
    add_index :app_versions, :short_version,            :unique => false
    add_index :app_versions, :beta_version,             :unique => true
    add_index :app_versions, :release_date,             :unique => true
  end
end
{'fraction_non_alphanumeric': 0.11221449851042702, 'fraction_numerical': 0.0009930486593843098, 'mean_word_length': 1.9287790697674418, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 35, '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': '4547854', 'n_tokens_mistral': 573, 'n_tokens_neox': 558, 'n_words': 142}