-# tile :integer not null
-# version :integer not null, primary key
+# tile :bigint(8) not null
+# version :bigint(8) not null, primary key
self.table_name = "nodes"
self.primary_keys = "node_id", "version"
self.table_name = "nodes"
self.primary_keys = "node_id", "version"
# the queries generated by Redactable will use the wrong table name.
include Redactable
validates :changeset, :presence => true, :associated => true
validates :latitude, :presence => true,
# the queries generated by Redactable will use the wrong table name.
include Redactable
validates :changeset, :presence => true, :associated => true
validates :latitude, :presence => true,
validates :timestamp, :presence => true
validates :visible, :inclusion => [true, false]
validates :timestamp, :presence => true
validates :visible, :inclusion => [true, false]