]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/022_key_constraints.rb
Preserve schemes in security policy
[rails.git] / db / migrate / 022_key_constraints.rb
index e854ba78e0dd6075f9404c0075ad5fa746abe240..535d7d21d6f63c578cb9461d1d3046beff0937dc 100644 (file)
@@ -1,6 +1,6 @@
-require 'migrate'
+require "migrate"
 
 
-class KeyConstraints < ActiveRecord::Migration
+class KeyConstraints < ActiveRecord::Migration[5.0]
   def self.up
     # Primary keys
     add_primary_key :current_node_tags, [:id, :k]
   def self.up
     # Primary keys
     add_primary_key :current_node_tags, [:id, :k]