]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/022_key_constraints.rb
Rename api_notes resource to avoid conflict with non-API resource
[rails.git] / db / migrate / 022_key_constraints.rb
index 535d7d21d6f63c578cb9461d1d3046beff0937dc..e7840b4147dd62ead3cfbf93d721d017968d7f89 100644 (file)
@@ -1,6 +1,4 @@
-require "migrate"
-
-class KeyConstraints < ActiveRecord::Migration[5.0]
+class KeyConstraints < ActiveRecord::Migration[4.2]
   def self.up
     # Primary keys
     add_primary_key :current_node_tags, [:id, :k]