projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add rails version number to migrations
[rails.git]
/
db
/
migrate
/
20150222101847_rename_openid_url.rb
diff --git
a/db/migrate/20150222101847_rename_openid_url.rb
b/db/migrate/20150222101847_rename_openid_url.rb
index b0735b74694fe6095778e2ac5dc15ae42bdaa765..8d49dc973e5750f72cf018ca203504ec7573d1e4 100644
(file)
--- a/
db/migrate/20150222101847_rename_openid_url.rb
+++ b/
db/migrate/20150222101847_rename_openid_url.rb
@@
-1,4
+1,4
@@
-class RenameOpenidUrl < ActiveRecord::Migration
+class RenameOpenidUrl < ActiveRecord::Migration
[5.0]
def change
rename_column :users, :openid_url, :auth_uid
add_column :users, :auth_provider, :string