X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f0b2ed9bb6c1e153231b8088eabe6e3edcee9420..1a3e1ab7bc406f5f51f528980339f53d112bada7:/app/models/tracepoint.rb?ds=sidebyside diff --git a/app/models/tracepoint.rb b/app/models/tracepoint.rb index 445688c55..6352824fd 100644 --- a/app/models/tracepoint.rb +++ b/app/models/tracepoint.rb @@ -6,9 +6,9 @@ # trackid :integer not null # latitude :integer not null # longitude :integer not null -# gpx_id :integer not null +# gpx_id :bigint(8) not null # timestamp :datetime -# tile :integer +# tile :bigint(8) # # Indexes # @@ -20,7 +20,7 @@ # gps_points_gpx_id_fkey (gpx_id => gpx_files.id) # -class Tracepoint < ActiveRecord::Base +class Tracepoint < ApplicationRecord include GeoRecord self.table_name = "gps_points"