Find in batches for contact import

This commit is contained in:
Martin Lensment 2015-03-02 11:40:40 +02:00 committed by Priit Tark
parent 9cd4bad3a9
commit 20f8192f78
2 changed files with 16 additions and 4 deletions

View file

@ -3,5 +3,6 @@ module Legacy
self.table_name = :contact
belongs_to :object_registry, foreign_key: :id
belongs_to :object, foreign_key: :id
belongs_to :registrar, foreign_key: :crid
end
end