X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/31edc7dff6f4305366d0f93d35ba3fb1956bb71f..9ac70151a8cb66ea9d68f433c832a3fc61e6882b:/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