]> git.openstreetmap.org Git - rails.git/blob - db/migrate/052_add_contributor_terms_to_user.rb
Merge map.js.erb and leaflet.extend.js.erb
[rails.git] / db / migrate / 052_add_contributor_terms_to_user.rb
1 class AddContributorTermsToUser < ActiveRecord::Migration
2   def self.up
3     add_column :users, :terms_agreed, :datetime
4     add_column :users, :consider_pd, :boolean, :null => false, :default => false
5   end
6
7   def self.down
8     remove_column :users, :consider_pd
9     remove_column :users, :terms_agreed
10   end
11 end