]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/022_key_constraints.rb
change Max for rubocop Metrics/ModuleLength
[rails.git] / db / migrate / 022_key_constraints.rb
index e854ba78e0dd6075f9404c0075ad5fa746abe240..3030ed2cf6e33e651b554ee16745a4f9b001521c 100644 (file)
@@ -1,6 +1,6 @@
-require 'migrate'
+require "migrate"
 
-class KeyConstraints < ActiveRecord::Migration
+class KeyConstraints < ActiveRecord::Migration[4.2]
   def self.up
     # Primary keys
     add_primary_key :current_node_tags, [:id, :k]