X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ac7bb003ec9726d23d0a537f347c2dd4c8f7204a..523f84d103bf8f580b1d65a2b2fd948eff9c2c95:/db/migrate/030_add_foreign_keys.rb?ds=inline diff --git a/db/migrate/030_add_foreign_keys.rb b/db/migrate/030_add_foreign_keys.rb index 1b99f664d..ed7652543 100644 --- a/db/migrate/030_add_foreign_keys.rb +++ b/db/migrate/030_add_foreign_keys.rb @@ -1,6 +1,6 @@ -require 'migrate' +require "migrate" -class AddForeignKeys < ActiveRecord::Migration +class AddForeignKeys < ActiveRecord::Migration[4.2] def self.up add_foreign_key :changeset_tags, :changesets, :column => :id, :name => "changeset_tags_id_fkey" add_foreign_key :diary_comments, :diary_entries, :name => "diary_comments_diary_entry_id_fkey"