projects
/
rails.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Rearrange issues table and combine some columns.
[rails.git]
/
db
/
migrate
/
20111116184519_update_oauth.rb
1
class UpdateOauth < ActiveRecord::Migration[5.0]
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