openstreetmap-website/db/migrate/20181020114000_add_user_tou_agreed.rb
Simon Poole 077834704e Add links to the ToU and include them in signup
- this adds links to the ToU in the Welcome box and on the About page
- adds a timestamp column to the users table to record acceptance of the ToU
- require ToU to be accepted before signup can proceed
- rearrange and change text on signup page
2019-05-13 16:52:18 +02:00

5 lines
123 B
Ruby

class AddUserTouAgreed < ActiveRecord::Migration[5.1]
def change
add_column :users, :tou_agreed, :datetime
end
end