X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/24b138db094e4b5e8d062c5248ee867967dc0fd7..c38e3d61444d53ce24aea0495ae93a0ccc395c7d:/app/models/way_node.rb?ds=sidebyside 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