X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/52e5fa6ad78f375cec5a207a123a4aa3939c8ddf..85d17f257c338f668a1d17d9fc62a2f48ec84230:/app/models/old_relation.rb diff --git a/app/models/old_relation.rb b/app/models/old_relation.rb index 87771caab..a75dacd0e 100644 --- a/app/models/old_relation.rb +++ b/app/models/old_relation.rb @@ -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