1 # == Schema Information
3 # Table name: current_way_nodes
5 # way_id :bigint(8) not null, primary key
6 # node_id :bigint(8) not null
7 # sequence_id :bigint(8) not null, primary key
11 # current_way_nodes_node_idx (node_id)
15 # current_way_nodes_id_fkey (way_id => current_ways.id)
16 # current_way_nodes_node_id_fkey (node_id => current_nodes.id)
19 class WayNode < ActiveRecord::Base
20 self.table_name = "current_way_nodes"
21 self.primary_keys = "way_id", "sequence_id"