1 class AddOpenId < ActiveRecord::Migration[5.0]
3 add_column :users, :openid_url, :string
4 add_index :users, [:openid_url], :name => "user_openid_url_idx", :unique => true
8 remove_index :users, :name => "user_openid_url_idx"
9 remove_column :users, :openid_url