X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/ce7b651eb25473b74765ccb349f37ebd4ea6edfe..10c3230e2716d5791e1007e5762988fec57e0a4d:/db/migrate/20100516124737_add_open_id.rb?ds=sidebyside diff --git a/db/migrate/20100516124737_add_open_id.rb b/db/migrate/20100516124737_add_open_id.rb index 2fb9ee5b4..74d86440c 100644 --- a/db/migrate/20100516124737_add_open_id.rb +++ b/db/migrate/20100516124737_add_open_id.rb @@ -1,6 +1,6 @@ -class AddOpenId < ActiveRecord::Migration +class AddOpenId < ActiveRecord::Migration[5.0] def self.up - add_column :users, :openid_url, :string + add_column :users, :openid_url, :string add_index :users, [:openid_url], :name => "user_openid_url_idx", :unique => true end