refactor: improve force delete domain status tracking

- Add force_delete_domain_statuses_history_data to store force delete metadata
- Update force delete queries to use new JSON status history
- Refactor force delete tests to use travel_to helper
- Remove direct force_delete_start field usage
- Update status notes to include company identification number
This commit is contained in:
oleghasjanov 2025-04-01 13:52:43 +03:00
parent 917e426d91
commit bfecc3c40e
4 changed files with 29 additions and 20 deletions

View file

@ -49,7 +49,8 @@ class Domain < ApplicationRecord
store_accessor :json_statuses_history,
:force_delete_domain_statuses_history,
:admin_store_statuses_history,
:lift_force_delete_domain_statuses_history_data
:lift_force_delete_domain_statuses_history_data,
:force_delete_domain_statuses_history_data
# TODO: whois requests ip whitelist for full info for own domains and partial info for other domains
# TODO: most inputs should be trimmed before validation, probably some global logic?