<commit_before>class NameDefaultSiteView < ActiveRecord::Migration[5.2]
  def change
    add_column :site_views, :name, :string
    add_column :site_views, :default, :boolean, default: false, null:false
    add_column :site_views, :description, :string, default: ""
    add_column :site_views, :url, :string, default: ""
  end
end<commit_msg>Making current siteviews default to true<commit_after>class NameDefaultSiteView < ActiveRecord::Migration[5.2]
  def change
    add_column :site_views, :name, :string
    add_column :site_views, :default, :boolean, default: false, null:false
    add_column :site_views, :description, :string, default: ""
    add_column :site_views, :url, :string, default: ""
    SiteViews.update_all(default:true)
  end
end
{'fraction_non_alphanumeric': 0.11466666666666667, 'fraction_numerical': 0.005333333333333333, 'mean_word_length': 5.587719298245614, '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': '2135802', 'n_tokens_mistral': 237, 'n_tokens_neox': 237, 'n_words': 61}