]> git.openstreetmap.org Git - rails.git/blob - db/migrate/043_add_referer_to_user_token.rb
Rename 'issue_type' to 'assigned_role', set defaults in the model and test.
[rails.git] / db / migrate / 043_add_referer_to_user_token.rb
1 class AddRefererToUserToken < ActiveRecord::Migration[5.0]
2   def self.up
3     add_column :user_tokens, :referer, :text
4   end
5
6   def self.down
7     remove_column :user_tokens, :referer
8   end
9 end