]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/042_add_foreign_keys_to_oauth_tables.rb
Merge pull request #5293 from AntonKhorev/user-roles-resourceful-routes
[rails.git] / db / migrate / 042_add_foreign_keys_to_oauth_tables.rb
index f8e36711fc89787965b231af4ed3363bb6eb34f3..a57fe9885bcf199c5d3b633294472163e1baf1db 100644 (file)
@@ -1,6 +1,4 @@
-require "migrate"
-
-class AddForeignKeysToOauthTables < ActiveRecord::Migration
+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"