mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Added Github authentication option, disabled by default with enable options in settings.
This commit is contained in:
13
db/migrate/20130226015336_add_github_user_info.rb
Normal file
13
db/migrate/20130226015336_add_github_user_info.rb
Normal 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
|
||||
Reference in New Issue
Block a user