Skip to content

Instantly share code, notes, and snippets.

@nacengineer
Created August 27, 2014 20:32
Show Gist options
  • Save nacengineer/b1278c33688cb0ab57d9 to your computer and use it in GitHub Desktop.
Save nacengineer/b1278c33688cb0ab57d9 to your computer and use it in GitHub Desktop.
# 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 => 20140606212908) do
create_table "affiliations", :force => true do |t|
t.string "name"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "articles", :force => true do |t|
t.datetime "release_date"
t.datetime "expire_date"
t.text "content"
t.string "image"
t.string "tags"
t.boolean "archive"
t.string "title"
t.datetime "date_specificity"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.datetime "end_at"
t.string "pdf"
t.string "display_options"
end
create_table "people", :force => true do |t|
t.string "slug"
t.string "display_name"
t.string "first_name"
t.string "last_name"
t.string "image_name"
t.string "title"
t.text "address"
t.string "email"
t.text "about"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
t.boolean "leader"
t.boolean "member"
t.boolean "advisor"
t.string "affiliation"
t.string "school"
t.string "location"
t.string "phone"
t.string "avatar"
end
add_index "people", ["slug"], :name => "index_people_on_slug", :unique => true
create_table "users", :force => true do |t|
t.string "name"
t.integer "roles_mask", :default => 2
t.string "encrypted_password", :default => ""
t.string "provider"
t.string "uid"
t.string "email"
t.string "reset_password_token"
t.datetime "reset_password_sent_at"
t.datetime "remember_created_at"
t.integer "sign_in_count", :default => 0
t.datetime "current_sign_in_at"
t.datetime "last_sign_in_at"
t.string "current_sign_in_ip"
t.string "last_sign_in_ip"
t.string "confirmation_token"
t.datetime "confirmed_at"
t.datetime "confirmation_sent_at"
t.string "unconfirmed_email"
t.integer "failed_attempts", :default => 0
t.string "unlock_token"
t.datetime "locked_at"
t.string "authentication_token"
t.string "avatar"
end
add_index "users", ["authentication_token"], :name => "index_users_on_authentication_token", :unique => true
add_index "users", ["confirmation_token"], :name => "index_users_on_confirmation_token", :unique => true
add_index "users", ["email"], :name => "index_users_on_email", :unique => true
add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true
add_index "users", ["unlock_token"], :name => "index_users_on_unlock_token", :unique => true
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment