X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/29a780eb1af9ca5f8b55e53cf89701b297707607..4bca24a7beb4a78cecfeaa775d41662497f9930f:/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..a57fe9885 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,4 @@ -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"