X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/497009ed2b98dfdeeb349e891c1fbd88d14ff087..86b846af2dd6de7f6f32d65ead5e8e46417f2b23:/db/migrate/022_key_constraints.rb diff --git a/db/migrate/022_key_constraints.rb b/db/migrate/022_key_constraints.rb index e854ba78e..e7840b414 100644 --- a/db/migrate/022_key_constraints.rb +++ b/db/migrate/022_key_constraints.rb @@ -1,6 +1,4 @@ -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]