Renumber migration to avoid conflict with master
This commit is contained in:
parent
61e51f88cc
commit
89ec02ea0a
1 changed files with 0 additions and 0 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