Add a relockDuration to the RegistryLock SQL object (#514)

* Add a relockDuration to the RegistryLock SQL object

This is the length of time after an unlock that we will re-lock the
domain in question.

* Sort by domain name for stability

Note: this is likely not the best solution for the UI but we can iterate
on this.

* Add nullable

* Add a converter for Duration
This commit is contained in:
gbrodman 2020-03-16 17:44:25 -04:00 committed by GitHub
parent d09fc7ee05
commit e9610636e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 174 additions and 18 deletions

View file

@ -262,7 +262,8 @@ CREATE TABLE public."RegistryLock" (
unlock_request_timestamp timestamp with time zone,
unlock_completion_timestamp timestamp with time zone,
last_update_timestamp timestamp with time zone,
relock_revision_id bigint
relock_revision_id bigint,
relock_duration bigint
);