mirror of
https://github.com/internetee/registry.git
synced 2025-07-14 06:55:11 +02:00
Story#104525318 - get states change timestamps
This commit is contained in:
parent
3c0e04beac
commit
df6e254cc6
2 changed files with 16 additions and 0 deletions
|
@ -772,6 +772,8 @@ namespace :import do
|
|||
Legacy::DomainHistory.uniq.pluck(:id).each do |legacy_domain_id|
|
||||
# 1. add domain changes
|
||||
# 2. add states
|
||||
# compose hash of change time -> Object changes
|
||||
history = Legacy::ObjectState.changes_dates_for(legacy_domain_id)
|
||||
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue