<commit_before># encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20121022164546) do

  create_table "email_errors", :force => true do |t|
    t.integer  "member_id",  :null => false
    t.string   "email"
    t.text     "error"
    t.datetime "created_at", :null => false
    t.datetime "updated_at", :null => false
  end

  create_table "bounced_emails", :force => true do |t|
    t.text     "raw_content"
    t.datetime "created_at",    :null => false
    t.datetime "updated_at",    :null => false
    t.integer  "sent_email_id"
  end

  create_table "email_experiments", :force => true do |t|
    t.integer  "sent_email_id"
    t.string   "goal"
    t.string   "key"
    t.string   "choice"
    t.datetime "created_at",    :null => false
    t.datetime "updated_at",    :null => false
  end

  add_index "email_experiments", ["sent_email_id"], :name => "index_email_experiments_on_sent_email_id"

  create_table "facebook_actions", :force => true do |t|
    t.integer  "member_id"
    t.integer  "petition_id"
    t.datetime "created_at",  :null => false
    t.datetime "updated_at",  :null => false
    t.string   "type"
    t.string   "action_id"
  end

  add_index "facebook_actions", ["member_id"], :name => "index_likes_on_member_id"
  add_index "facebook_actions", ["petition_id"], :name => "index_likes_on_petition_id"

  create_table "facebook_friends", :force => true do |t|
    t.integer  "member_id",   :null => false
    t.string   "facebook_id", :null => false
    t.datetime "created_at",  :null => false<commit_msg>add index on facebook action id<commit_after># encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20121022164546) do

  create_table "email_errors", :force => true do |t|
    t.integer  "member_id",  :null => false
    t.string   "email"
    t.text     "error"
    t.datetime "created_at", :null => false
    t.datetime "updated_at", :null => false
  end

  create_table "bounced_emails", :force => true do |t|
    t.text     "raw_content"
    t.datetime "created_at",    :null => false
    t.datetime "updated_at",    :null => false
    t.integer  "sent_email_id"
  end

  create_table "email_experiments", :force => true do |t|
    t.integer  "sent_email_id"
    t.string   "goal"
    t.string   "key"
    t.string   "choice"
    t.datetime "created_at",    :null => false
    t.datetime "updated_at",    :null => false
  end

  add_index "email_experiments", ["sent_email_id"], :name => "index_email_experiments_on_sent_email_id"

  create_table "facebook_actions", :force => true do |t|
    t.integer  "member_id"
    t.integer  "petition_id"
    t.datetime "created_at",  :null => false
    t.datetime "updated_at",  :null => false
    t.string   "type"
    t.string   "action_id"
  end

  add_index "facebook_actions", ["member_id"], :name => "index_likes_on_member_id"
  add_index "facebook_actions", ["petition_id"], :name => "index_likes_on_petition_id"
  add_index "facebook_actions", ["action_id"], :name => "index_facebook_actions_action_id"

  create_table "facebook_friends", :force => true do |t|
    t.integer  "member_id",   :null => false
    t.string   "facebook_id", :null => false
    t.datetime "created_at",  :null => false
{'fraction_non_alphanumeric': 0.10827750162092069, 'fraction_numerical': 0.006483682731791658, 'mean_word_length': 3.8308977035490606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 46, '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': '5162941', 'n_tokens_mistral': 1480, 'n_tokens_neox': 1428, 'n_words': 475}