mirror of
https://github.com/google/nomulus.git
synced 2025-05-19 02:39:34 +02:00
Add a RelockDomainAction for future auto-relocks (#485)
* Add a RelockAction and reference to relocks in RegistryLocks * Respond to CR - refactor the request param exception logging a bit - don't log an error if the domain was already locked, just skip * Save a relock for all locks (if possible) * derp * Long -> long + remove unnecessary transact * semantic merge conflict woo * fix another semantic merge conflict
This commit is contained in:
parent
3e7ea75b6f
commit
560bec1e83
17 changed files with 578 additions and 41 deletions
|
@ -180,6 +180,7 @@
|
|||
unlock_completion_timestamp timestamptz,
|
||||
unlock_request_timestamp timestamptz,
|
||||
verification_code text not null,
|
||||
relock_revision_id int8,
|
||||
primary key (revision_id)
|
||||
);
|
||||
|
||||
|
@ -224,6 +225,11 @@ create index reservedlist_name_idx on "ReservedList" (name);
|
|||
foreign key (revision_id)
|
||||
references "PremiumList";
|
||||
|
||||
alter table if exists "RegistryLock"
|
||||
add constraint FK2lhcwpxlnqijr96irylrh1707
|
||||
foreign key (relock_revision_id)
|
||||
references "RegistryLock";
|
||||
|
||||
alter table if exists "ReservedEntry"
|
||||
add constraint FKgq03rk0bt1hb915dnyvd3vnfc
|
||||
foreign key (revision_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue