X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/945ff7911ca51dc250ffaba71f62821b5c0c0a95..22dc13d6edb17cbdd4b73aabad340dcc8ef41999:/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 5a6a9296f..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]