mirror of
https://github.com/internetee/registry.git
synced 2025-08-01 23:42:04 +02:00
Remove domains.reserved
database column as unused
This commit is contained in:
parent
c85ebf542d
commit
1ad62bf4bd
9 changed files with 8 additions and 11 deletions
|
@ -79,7 +79,6 @@ class Domain < ActiveRecord::Base
|
|||
self.status_notes = {} if status_notes.nil?
|
||||
end
|
||||
|
||||
before_create -> { self.reserved = in_reserved_list?; nil }
|
||||
before_save :manage_automatic_statuses
|
||||
before_save :touch_always_version
|
||||
def touch_always_version
|
||||
|
|
|
@ -72,7 +72,6 @@ class DomainStatus < ActiveRecord::Base
|
|||
FORCE_DELETE = 'serverForceDelete'
|
||||
DELETE_CANDIDATE = 'deleteCandidate'
|
||||
EXPIRED = 'expired'
|
||||
RESERVED = 'reserved'
|
||||
|
||||
STATUSES = [
|
||||
CLIENT_DELETE_PROHIBITED, SERVER_DELETE_PROHIBITED, CLIENT_HOLD, SERVER_HOLD,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue