]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/old_relation.rb
Include the event type in the JSON output of a note
[rails.git] / app / models / old_relation.rb
index 87771caab3440b7603d22143db6f51d88ecd8a0f..a75dacd0eba9b04d28a4e6e3264bc6ea58877dae 100644 (file)
@@ -1,8 +1,8 @@
 class OldRelation < ActiveRecord::Base
   include ConsistencyValidations
   
-  set_table_name 'relations'
-  set_primary_keys :relation_id, :version
+  self.table_name = "relations"
+  self.primary_keys = "relation_id", "version"
 
   belongs_to :changeset