<commit_before>class RemoveBlogsEventsAndWalls < ActiveRecord::Migration
  def up
    drop_table "blogs"
    drop_table "comments"
    drop_table "event_attendees"
    drop_table "events"
    remove_column :people, :blog_post_comments_count
    remove_column :people, :wall_comments_count
    remove_column :people, :wall_comment_notifications
    remove_column :people, :blog_comment_notifications
    remove_column :preferences, :user_walls_enabled
  end

  def down

    add_column :people, :blog_post_comments_count, :integer, :default => 0, :null => false
    add_column :people, :wall_comments_count, :integer, :default => 0, :null => false
    add_column :people, :wall_comment_notifications, :boolean, :default => true
    add_column :people, :blog_comment_notifications, :boolean, :default => true
    remove_column :preferences, :user_walls_enabled, :boolean, :default => false, :null => false

    create_table "blogs", :force => true do |t|
      t.integer  "person_id"
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "blogs", ["person_id"]

    create_table "comments", :force => true do |t|
      t.integer  "commenter_id"
      t.integer  "commentable_id"
      t.string   "commentable_type", :default => "", :null => false
      t.text     "body"
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "comments", ["commentable_id", "commentable_type"]
    add_index "comments", ["commenter_id"]

    create_table "event_attendees", :force => true do |t|
      t.integer "person_id"
      t.integer "event_id"
    end

    create_table "events", :force => true do |t|
      t.string   "title",                                :null => false
      t.string   "description"
      t.integer  "person_id",                            :null => false
      t.datetime "start_time",                           :null => false
      t.datetime "end_time"
      t.boolean  "reminder"
      t.datetime "created_at"
      t.datetime "updated_at"
      t.integer  "event_attendees_count", :default => 0
      t.integer  "privacy",               :default => 2, :null => false
    end

  end
end
<commit_msg>Fixed migration error.<commit_after>class RemoveBlogsEventsAndWalls < ActiveRecord::Migration
  def up
    drop_table "blogs"
    drop_table "comments"
    drop_table "event_attendees"
    drop_table "events"
    remove_column :people, :blog_post_comments_count
    remove_column :people, :wall_comments_count
    remove_column :people, :wall_comment_notifications
    remove_column :people, :blog_comment_notifications
    remove_column :preferences, :user_walls_enabled
  end

  def down

    add_column :people, :blog_post_comments_count, :integer, :default => 0, :null => false
    add_column :people, :wall_comments_count, :integer, :default => 0, :null => false
    add_column :people, :wall_comment_notifications, :boolean, :default => true
    add_column :people, :blog_comment_notifications, :boolean, :default => true
    add_column :preferences, :user_walls_enabled, :boolean, :default => false, :null => false

    create_table "blogs", :force => true do |t|
      t.integer  "person_id"
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "blogs", ["person_id"]

    create_table "comments", :force => true do |t|
      t.integer  "commenter_id"
      t.integer  "commentable_id"
      t.string   "commentable_type", :default => "", :null => false
      t.text     "body"
      t.datetime "created_at"
      t.datetime "updated_at"
    end

    add_index "comments", ["commentable_id", "commentable_type"]
    add_index "comments", ["commenter_id"]

    create_table "event_attendees", :force => true do |t|
      t.integer "person_id"
      t.integer "event_id"
    end

    create_table "events", :force => true do |t|
      t.string   "title",                                :null => false
      t.string   "description"
      t.integer  "person_id",                            :null => false
      t.datetime "start_time",                           :null => false
      t.datetime "end_time"
      t.boolean  "reminder"
      t.datetime "created_at"
      t.datetime "updated_at"
      t.integer  "event_attendees_count", :default => 0
      t.integer  "privacy",               :default => 2, :null => false
    end

  end
end

{'fraction_non_alphanumeric': 0.11026703499079189, 'fraction_numerical': 0.001841620626151013, 'mean_word_length': 2.8315696649029984, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 43, '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': '3106169', 'n_tokens_mistral': 1373, 'n_tokens_neox': 1338, 'n_words': 330}