]> git.openstreetmap.org Git - rails.git/blob - app/models/way_node.rb
Merge remote-tracking branch 'upstream/pull/6396'
[rails.git] / app / models / way_node.rb
1 # frozen_string_literal: true
2
3 # == Schema Information
4 #
5 # Table name: current_way_nodes
6 #
7 #  way_id      :bigint           not null, primary key
8 #  node_id     :bigint           not null
9 #  sequence_id :bigint           not null, primary key
10 #
11 # Indexes
12 #
13 #  current_way_nodes_node_idx  (node_id)
14 #
15 # Foreign Keys
16 #
17 #  current_way_nodes_id_fkey       (way_id => current_ways.id)
18 #  current_way_nodes_node_id_fkey  (node_id => current_nodes.id)
19 #
20
21 class WayNode < ApplicationRecord
22   self.table_name = "current_way_nodes"
23
24   belongs_to :way
25   belongs_to :node
26 end