]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/006_tile_nodes.rb
JSON output, handle Accept header
[rails.git] / db / migrate / 006_tile_nodes.rb
index 848dc972418c5c762c6e97707abed2bcba4b44b4..ca898cb37b197f6f9c77ae386dc277a56d744973 100644 (file)
@@ -1,11 +1,11 @@
 require "migrate"
 
 class TileNodes < ActiveRecord::Migration[4.2]
-  class Node < ActiveRecord::Base
+  class Node < ApplicationRecord
     self.table_name = "current_nodes"
   end
 
-  class OldNode < ActiveRecord::Base
+  class OldNode < ApplicationRecord
     self.table_name = "nodes"
   end