Add rails version number to migrations
This commit is contained in:
parent
f773f67958
commit
29a780eb1a
95 changed files with 95 additions and 95 deletions
|
@ -1,4 +1,4 @@
|
|||
class AddOpenId < ActiveRecord::Migration
|
||||
class AddOpenId < ActiveRecord::Migration[5.0]
|
||||
def self.up
|
||||
add_column :users, :openid_url, :string
|
||||
add_index :users, [:openid_url], :name => "user_openid_url_idx", :unique => true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue