X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/832b96b75ac05177e6baad7b414066ccfd7cfa51..c1d4f3cc7f051815cfd4ea372597a94f1621abfa:/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..4b686beb4 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[4.2] 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