]> git.openstreetmap.org Git - rails.git/blob - db/migrate/043_add_referer_to_user_token.rb
Merge pull request #5060 from tomhughes/rake-expiry
[rails.git] / db / migrate / 043_add_referer_to_user_token.rb
1 class AddRefererToUserToken < ActiveRecord::Migration[4.2]
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