mirror of
https://github.com/internetee/registry.git
synced 2025-08-02 16:02:03 +02:00
Map legacy contact fields to contact
This commit is contained in:
parent
a598b46723
commit
9cd4bad3a9
5 changed files with 77 additions and 40 deletions
|
@ -1,5 +1,7 @@
|
|||
module Legacy
|
||||
class Contact < Db
|
||||
self.table_name = :contact
|
||||
belongs_to :object_registry, foreign_key: :id
|
||||
belongs_to :object, foreign_key: :id
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue