]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/tracetag.rb
Merge remote-tracking branch 'upstream/pull/3264'
[rails.git] / app / models / tracetag.rb
index 84b6c6dfa8394404c3757a20145e1a77a6791c82..f13f7269fbb73625c712bcd7804a254b59661c63 100644 (file)
@@ -2,9 +2,9 @@
 #
 # Table name: gpx_file_tags
 #
-#  gpx_id :integer          default(0), not null
+#  gpx_id :bigint(8)        default(0), not null
 #  tag    :string           not null
-#  id     :integer          not null, primary key
+#  id     :bigint(8)        not null, primary key
 #
 # Indexes
 #
@@ -16,7 +16,7 @@
 #  gpx_file_tags_gpx_id_fkey  (gpx_id => gpx_files.id)
 #
 
-class Tracetag < ActiveRecord::Base
+class Tracetag < ApplicationRecord
   self.table_name = "gpx_file_tags"
 
   belongs_to :trace, :foreign_key => "gpx_id"