Basic domain import

This commit is contained in:
Martin Lensment 2015-03-03 14:53:31 +02:00 committed by Priit Tark
parent 7707f5ff8e
commit 41b51455cf
7 changed files with 107 additions and 10 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 :object_state, foreign_key: :id, primary_key: :object_id
end
end