X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/783b5e3729228908d7404ae7404af1023501a906..216e2493edde7d9601fdb508a8835b93ec9d3c25:/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