mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 06:34:46 +02:00
Change domains.delete_at
database column type to date, rename to
`delete_date` Closes #1125
This commit is contained in:
parent
ab9c5c45de
commit
cea834d5b7
31 changed files with 159 additions and 71 deletions
|
@ -31,7 +31,7 @@ RSpec.describe DomainCron do
|
|||
old_valid_to = Time.zone.now - 10.days
|
||||
@domain.valid_to = old_valid_to
|
||||
@domain.statuses = [DomainStatus::EXPIRED]
|
||||
@domain.outzone_at, @domain.delete_at = nil, nil
|
||||
@domain.outzone_at, @domain.delete_date = nil, nil
|
||||
@domain.save
|
||||
|
||||
described_class.start_expire_period
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue