]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20111116184519_update_oauth.rb
Remove unused fail locale strings from user role grant/revoke
[rails.git] / db / migrate / 20111116184519_update_oauth.rb
1 class UpdateOauth < ActiveRecord::Migration[4.2]
2   def up
3     add_column :oauth_tokens, :scope, :string
4     add_column :oauth_tokens, :valid_to, :timestamp
5   end
6
7   def down
8     remove_column :oauth_tokens, :valid_to
9     remove_column :oauth_tokens, :scope
10   end
11 end