mirror of
https://github.com/internetee/registry.git
synced 2025-07-22 02:35:57 +02:00
Story#108521790 - import dnskey history
This commit is contained in:
parent
01a82a2960
commit
d41488472a
4 changed files with 80 additions and 0 deletions
|
@ -1,8 +1,10 @@
|
|||
module Legacy
|
||||
class Dnskey < Db
|
||||
self.table_name = :dnskey
|
||||
self.primary_key = :id
|
||||
|
||||
belongs_to :object_registry, foreign_key: :id
|
||||
belongs_to :object, foreign_key: :id
|
||||
has_one :object_history, foreign_key: :historyid, primary_key: :historyid
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue