implement openID authentication

This commit is contained in:
Stella Rouzi 2014-06-18 16:58:30 +03:00
parent 37e026a9fb
commit 600adde6ba
23 changed files with 408 additions and 14 deletions

View file

@ -0,0 +1,12 @@
class CreateOpenids< ActiveRecord::Migration
def change
create_table :openids do |t|
t.string :provider
t.string :email
t.string :uid
t.integer :user_id
t.timestamps
end
end
end

View file

@ -11,7 +11,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20140617145048) do
ActiveRecord::Schema.define(version: 20140618062623) do
create_table "answers", force: true do |t|
t.string "title"
@ -82,11 +82,11 @@ ActiveRecord::Schema.define(version: 20140617145048) do
t.text "description"
t.text "registration_description"
t.text "ticket_description"
t.text "sponsor_description"
t.string "sponsor_email"
t.string "twitter_url"
t.string "facebook_url"
t.string "google_url"
t.text "sponsor_description"
t.string "sponsor_email"
t.text "lodging_description"
t.boolean "include_registrations_in_splash", default: false
t.boolean "include_sponsors_in_splash", default: false
@ -213,6 +213,15 @@ ActiveRecord::Schema.define(version: 20140617145048) do
t.string "website_link"
end
create_table "openids", force: true do |t|
t.string "provider"
t.string "email"
t.string "uid"
t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
end
create_table "people", force: true do |t|
t.string "guid", null: false
t.string "first_name", default: ""