X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/e731dd71a77ad4ad1e9db22535e89444bb98e5d9..867bc505806d295b03b68aca5c8d83dcb339f7f4:/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