Merge branch 'master' into openstreetbugs
This commit is contained in:
commit
7c98b41cc8
64 changed files with 2178 additions and 218 deletions
11
db/migrate/20100516124737_add_open_id.rb
Normal file
11
db/migrate/20100516124737_add_open_id.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class AddOpenId < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :users, :openid_url, :string
|
||||
add_index :users, [:openid_url], :name => "user_openid_url_idx", :unique => true
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_index :users, :name => "user_openid_url_idx"
|
||||
remove_column :users, :openid_url
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue