]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/029_add_user_foreign_keys.rb
Disable eslint for js test files to test for github-ci
[rails.git] / db / migrate / 029_add_user_foreign_keys.rb
index 224d589a876fa8b322842f46669fdeba3f1f5702..33ba25721c380f4ef4b4236d12ea5cc671cec784 100644 (file)
@@ -1,6 +1,4 @@
-require "migrate"
-
-class AddUserForeignKeys < ActiveRecord::Migration
+class AddUserForeignKeys < ActiveRecord::Migration[4.2]
   def change
     add_foreign_key :changesets, :users, :name => "changesets_user_id_fkey"
     add_foreign_key :diary_comments, :users, :name => "diary_comments_user_id_fkey"
   def change
     add_foreign_key :changesets, :users, :name => "changesets_user_id_fkey"
     add_foreign_key :diary_comments, :users, :name => "diary_comments_user_id_fkey"