Created
April 23, 2016 12:03
-
-
Save cmhobbs/a2a858eedb5db951068eb3107adea60b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create_table "users", :force => true do |t| | |
t.string "email", :default => "", :null => false | |
t.string "encrypted_password", :default => "" | |
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.datetime "created_at", :null => false | |
t.datetime "updated_at", :null => false | |
t.integer "managed_organization_id" | |
t.string "name" | |
t.string "provider" | |
t.string "uid" | |
t.string "location" | |
t.text "description" | |
t.string "headline" | |
t.string "industry" | |
t.integer "organization_id" | |
t.string "access_key" | |
t.string "access_secret" | |
t.string "avatar" | |
t.string "role", :default => "member", :null => false | |
t.integer "interest_ids" | |
t.string "instance_url" | |
t.string "refresh_token" | |
t.string "old_salesforce_id" | |
t.string "encrypted_salesforce_id" | |
t.string "encrypted_access_key" | |
t.string "encrypted_uid" | |
t.boolean "active_license" | |
t.date "licensed_date" | |
t.boolean "mute_notifications", :default => false | |
t.string "invitation_token" | |
t.datetime "invitation_sent_at" | |
t.datetime "invitation_accepted_at" | |
t.integer "invitation_limit" | |
t.integer "invited_by_id" | |
t.string "invited_by_type" | |
t.datetime "invitation_created_at" | |
end | |
add_index "users", ["email"], :name => "index_users_on_email", :unique => true | |
add_index "users", ["invitation_token"], :name => "index_users_on_invitation_token", :unique => true | |
add_index "users", ["invited_by_id"], :name => "index_users_on_invited_by_id" | |
add_index "users", ["managed_organization_id"], :name => "index_users_on_managed_organization_id" | |
add_index "users", ["reset_password_token"], :name => "index_users_on_reset_password_token", :unique => true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment