X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f99c383318c4f9ea15639f0566f3e42db4e2c8b1..f3a31e00d45a824ccd67a2ce1d77f19a1240aef8:/app/models/way_node.rb diff --git a/app/models/way_node.rb b/app/models/way_node.rb index 0788a631c..c57d3be79 100644 --- a/app/models/way_node.rb +++ b/app/models/way_node.rb @@ -16,9 +16,8 @@ # current_way_nodes_node_id_fkey (node_id => current_nodes.id) # -class WayNode < ActiveRecord::Base +class WayNode < ApplicationRecord self.table_name = "current_way_nodes" - self.primary_keys = "way_id", "sequence_id" belongs_to :way belongs_to :node