]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/042_add_foreign_keys_to_oauth_tables.rb
Merge branch 'wheres_this' of https://github.com/pnorman/openstreetmap-website into...
[rails.git] / db / migrate / 042_add_foreign_keys_to_oauth_tables.rb
index abc4e9c517b80de30aac93412d7a00de58df00f9..4268dddd14975c617d7a9f316838c5138dad96c4 100644 (file)
@@ -1,6 +1,6 @@
-require 'migrate'
+require "migrate"
 
-class AddForeignKeysToOauthTables < ActiveRecord::Migration
+class AddForeignKeysToOauthTables < ActiveRecord::Migration[5.0]
   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"