mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 01:47:18 +02:00
8 lines
279 B
Ruby
8 lines
279 B
Ruby
module Legacy
|
|
class ObjectRegistry < Db
|
|
self.table_name = :object_registry
|
|
self.inheritance_column = nil
|
|
belongs_to :registrar, foreign_key: :crid, primary_key: :legacy_id, class_name: '::Registrar'
|
|
belongs_to :object_history, foreign_key: :historyid
|
|
end
|
|
end
|