]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/030_add_foreign_keys.rb
Allow inline javascript and CSS in better_errors pages
[rails.git] / db / migrate / 030_add_foreign_keys.rb
index 1b99f664de9bae15ba00cdfe66a500840a7dc75a..d55c96380c7374f22e6256e0a7ebecf5d457081f 100644 (file)
@@ -1,6 +1,6 @@
-require 'migrate'
+require "migrate"
 
-class AddForeignKeys < ActiveRecord::Migration
+class AddForeignKeys < ActiveRecord::Migration[5.0]
   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"