Added Github authentication option, disabled by default with enable options in settings.

This commit is contained in:
nverba
2013-02-26 04:28:32 +00:00
committed by nverba
parent b50e0536c7
commit b45f872c04
18 changed files with 170 additions and 1 deletions

View File

@@ -0,0 +1,13 @@
class AddGithubUserInfo < ActiveRecord::Migration
def change
create_table :github_user_infos do |t|
t.integer :user_id, :null => false
t.string :screen_name, :null => false
t.integer :github_user_id, :null => false
t.timestamps
end
add_index :github_user_infos, [:github_user_id], :unique => true
add_index :github_user_infos, [:user_id], :unique => true
end
end