mirror of
https://github.com/internetee/registry.git
synced 2025-05-19 10:49:39 +02:00
Story#104941754 Nsset after import take updated_at and created_at.
This commit is contained in:
parent
da7ce59f2e
commit
f2d9203ee3
2 changed files with 11 additions and 4 deletions
|
@ -2,6 +2,8 @@ module Legacy
|
|||
class Nsset < Db
|
||||
self.table_name = :nsset
|
||||
|
||||
belongs_to :object, foreign_key: :id
|
||||
belongs_to :object_state, foreign_key: :id, primary_key: :object_id
|
||||
has_many :hosts, foreign_key: :nssetid
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue