X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/2f9291ba5764fe104264ae7e3b6a361e11212e8b..0297cec87b3cbf7f33c544c53fdac4a213e1bd00:/db/migrate/042_add_foreign_keys_to_oauth_tables.rb diff --git a/db/migrate/042_add_foreign_keys_to_oauth_tables.rb b/db/migrate/042_add_foreign_keys_to_oauth_tables.rb index 4268dddd1..b302458c7 100644 --- a/db/migrate/042_add_foreign_keys_to_oauth_tables.rb +++ b/db/migrate/042_add_foreign_keys_to_oauth_tables.rb @@ -1,6 +1,6 @@ require "migrate" -class AddForeignKeysToOauthTables < ActiveRecord::Migration[5.0] +class AddForeignKeysToOauthTables < ActiveRecord::Migration[4.2] def change add_foreign_key :oauth_tokens, :users, :name => "oauth_tokens_user_id_fkey" add_foreign_key :oauth_tokens, :client_applications, :name => "oauth_tokens_client_application_id_fkey"