]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20111116184519_update_oauth.rb
Put link next to input and make it non-navigable
[rails.git] / db / migrate / 20111116184519_update_oauth.rb
1 class UpdateOauth < ActiveRecord::Migration
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