]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/way_node.rb
Drop explicit lengths from bigint columns
[rails.git] / app / models / way_node.rb
index 0626fb2403df19b013700617421c5accfd12c296..b77827ada35a5605d8641502000c99f5d6622bf5 100644 (file)
@@ -2,9 +2,9 @@
 #
 # Table name: current_way_nodes
 #
-#  way_id      :bigint(8)        not null, primary key
-#  node_id     :bigint(8)        not null
-#  sequence_id :bigint(8)        not null, primary key
+#  way_id      :bigint           not null, primary key
+#  node_id     :bigint           not null
+#  sequence_id :bigint           not null, primary key
 #
 # Indexes
 #
@@ -18,7 +18,6 @@
 
 class WayNode < ApplicationRecord
   self.table_name = "current_way_nodes"
-  self.primary_keys = "way_id", "sequence_id"
 
   belongs_to :way
   belongs_to :node