X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c3e2e6462f293596aef5d5de18b0a173edc046c7..784d4ca03d1c8916c94dd8528c54c60ce4b0967a:/db/migrate/022_key_constraints.rb?ds=sidebyside diff --git a/db/migrate/022_key_constraints.rb b/db/migrate/022_key_constraints.rb index e854ba78e..535d7d21d 100644 --- a/db/migrate/022_key_constraints.rb +++ b/db/migrate/022_key_constraints.rb @@ -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]