Skip to content

Instantly share code, notes, and snippets.

@orafaelfragoso
Created August 1, 2014 03:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save orafaelfragoso/5c70d8962f6acecc74d4 to your computer and use it in GitHub Desktop.
Save orafaelfragoso/5c70d8962f6acecc74d4 to your computer and use it in GitHub Desktop.
Schema for Omniauth and Devise
create_table "identities", force: true do |t|
t.integer "member_id"
t.string "uid"
t.string "provider"
t.string "oauth_token"
t.string "oauth_secret"
t.datetime "oauth_expires_at"
end
add_index "identities", ["member_id"], name: "index_identities_on_member_id", using: :btree
create_table "members", force: true do |t|
t.string "first_name"
t.string "last_name"
t.string "email"
t.string "gender"
t.date "birthday"
t.datetime "created_at"
t.datetime "updated_at"
t.string "profile_picture"
t.string "nickname"
t.string "location"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment