Merge branch 'master' into openid
Conflicts: app/controllers/user_controller.rb app/views/user/new.html.erb config/locales/en.yml public/stylesheets/common.css
This commit is contained in:
commit
64f373dc59
17 changed files with 282 additions and 69 deletions
11
db/migrate/052_add_contributor_terms_to_user.rb
Normal file
11
db/migrate/052_add_contributor_terms_to_user.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class AddContributorTermsToUser < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_column :users, :terms_agreed, :datetime
|
||||
add_column :users, :consider_pd, :boolean, :null => false, :default => false
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_column :users, :consider_pd
|
||||
remove_column :users, :terms_agreed
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue