diff --git a/db/src/main/resources/sql/er_diagram/brief_er_diagram.html b/db/src/main/resources/sql/er_diagram/brief_er_diagram.html
index 0d2403a08..b19888a2f 100644
--- a/db/src/main/resources/sql/er_diagram/brief_er_diagram.html
+++ b/db/src/main/resources/sql/er_diagram/brief_er_diagram.html
@@ -261,11 +261,11 @@ td.section {
generated on
- 2023-03-16 20:10:49.374346
+ 2023-03-20 14:44:21.58276
last flyway file
- V141__add_ttl_columns_to_tld.sql
+ V142__drop_request_log_id.sql
@@ -274,19 +274,19 @@ td.section {
SchemaCrawler_Diagram
-
+
generated by
-
+
SchemaCrawler 16.10.1
-
+
generated on
-
- 2023-03-16 20:10:49.374346
+
+ 2023-03-20 14:44:21.58276
-
+
allocationtoken_a08ccbef
diff --git a/db/src/main/resources/sql/er_diagram/full_er_diagram.html b/db/src/main/resources/sql/er_diagram/full_er_diagram.html
index 44fc7aabc..b2724946f 100644
--- a/db/src/main/resources/sql/er_diagram/full_er_diagram.html
+++ b/db/src/main/resources/sql/er_diagram/full_er_diagram.html
@@ -261,19 +261,19 @@ td.section {
generated on
- 2023-03-16 20:10:47.315383
+ 2023-03-20 14:44:18.775649
last flyway file
- V141__add_ttl_columns_to_tld.sql
+ V142__drop_request_log_id.sql
-
+
SchemaCrawler_Diagram
-
+
generated by
@@ -284,7 +284,7 @@ td.section {
generated on
- 2023-03-16 20:10:47.315383
+ 2023-03-20 14:44:18.775649
@@ -5691,40 +5691,32 @@ td.section {
lock_f21d4861
-
-
+
+
public.Lock
-
-
+
+
[table]
-
- resource_name
-
-
-
-
- text not null
-
- "scope"
+ resource_name
text not null
-
- acquired_time
+
+ "scope"
- timestamptz not null
+ text not null
- expiration_time
+ acquired_time
@@ -5732,253 +5724,253 @@ td.section {
timestamptz not null
- request_log_id
+ expiration_time
- text
+ timestamptz not null
-
+
packagepromotion_56aa33
-
-
+
+
public.PackagePromotion
-
-
+
+
[table]
-
+
package_promotion_id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
last_notification_sent
-
+
-
+
timestamptz
-
+
max_creates
-
+
-
+
int4 not null
-
+
max_domains
-
+
-
+
int4 not null
-
+
next_billing_date
-
+
-
+
timestamptz not null
-
+
package_price_amount
-
+
-
+
numeric(19, 2) not null
-
+
package_price_currency
-
+
-
+
text not null
-
+
token
-
+
-
+
text not null
-
+
premiumentry_b0060b91
-
-
+
+
public.PremiumEntry
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
int8 not null
-
+
price
-
+
-
+
numeric(19, 2) not null
-
+
domain_label
-
+
-
+
text not null
-
+
premiumlist_7c3ea68b
-
-
+
+
public.PremiumList
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
creation_timestamp
-
+
-
+
timestamptz
-
+
name
-
+
-
+
text not null
-
+
bloom_filter
-
+
-
+
bytea not null
-
+
currency
-
+
-
+
text not null
-
+
premiumentry_b0060b91:w->premiumlist_7c3ea68b:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fko0gw90lpo1tuee56l0nb6y6g5
rderevision_83396864
-
-
+
+
public.RdeRevision
-
-
+
+
[table]
-
+
tld
-
+
-
+
text not null
-
+
mode
-
+
-
+
text not null
-
+
"date"
-
+
-
+
date not null
-
+
update_timestamp
-
+
-
+
timestamptz
-
+
revision
-
+
-
+
int4 not null
-
+
registrarpoc_ab47054d
@@ -6119,567 +6111,567 @@ td.section {
registrylock_ac88663e
-
-
+
+
public.RegistryLock
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
lock_completion_time
-
+
-
+
timestamptz
-
+
lock_request_time
-
+
-
+
timestamptz not null
-
+
domain_name
-
+
-
+
text not null
-
+
is_superuser
-
+
-
+
bool not null
-
+
registrar_id
-
+
-
+
text not null
-
+
registrar_poc_id
-
+
-
+
text
-
+
repo_id
-
+
-
+
text not null
-
+
verification_code
-
+
-
+
text not null
-
+
unlock_request_time
-
+
-
+
timestamptz
-
+
unlock_completion_time
-
+
-
+
timestamptz
-
+
last_update_time
-
+
-
+
timestamptz not null
-
+
relock_revision_id
-
+
-
+
int8
-
+
relock_duration
-
+
-
+
interval
-
+
registrylock_ac88663e:w->registrylock_ac88663e:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk2lhcwpxlnqijr96irylrh1707
reservedentry_1a7b8520
-
-
+
+
public.ReservedEntry
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
int8 not null
-
+
comment
-
+
-
+
text
-
+
reservation_type
-
+
-
+
int4 not null
-
+
domain_label
-
+
-
+
text not null
-
+
reservedlist_b97c3f1c
-
-
+
+
public.ReservedList
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
creation_timestamp
-
+
-
+
timestamptz not null
-
+
name
-
+
-
+
text not null
-
+
should_publish
-
+
-
+
bool not null
-
+
reservedentry_1a7b8520:w->reservedlist_b97c3f1c:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fkgq03rk0bt1hb915dnyvd3vnfc
serversecret_6cc90f09
-
-
+
+
public.ServerSecret
-
-
+
+
[table]
-
+
secret
-
+
-
+
uuid not null
-
+
id
-
+
-
+
int8 not null
-
+
signedmarkrevocationentry_99c39721
-
-
+
+
public.SignedMarkRevocationEntry
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
int8 not null
-
+
revocation_time
-
+
-
+
timestamptz not null
-
+
smd_id
-
+
-
+
text not null
-
+
signedmarkrevocationlist_c5d968fb
-
-
+
+
public.SignedMarkRevocationList
-
-
+
+
[table]
-
+
revision_id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
creation_time
-
+
-
+
timestamptz
-
+
signedmarkrevocationentry_99c39721:w->signedmarkrevocationlist_c5d968fb:e
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
fk5ivlhvs3121yx2li5tqh54u4
spec11threatmatch_a61228a6
-
-
+
+
public.Spec11ThreatMatch
-
-
+
+
[table]
-
+
id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
check_date
-
+
-
+
date not null
-
+
domain_name
-
+
-
+
text not null
-
+
domain_repo_id
-
+
-
+
text not null
-
+
registrar_id
-
+
-
+
text not null
-
+
threat_types
-
+
-
+
_text not null
-
+
tld
-
+
-
+
text not null
-
+
tmchcrl_d282355
-
-
+
+
public.TmchCrl
-
-
+
+
[table]
-
+
certificate_revocations
-
+
-
+
text not null
-
+
update_timestamp
-
+
-
+
timestamptz not null
-
+
url
-
+
-
+
text not null
-
+
id
-
+
-
+
int8 not null
-
+
user_f2216f01
-
-
+
+
public."User"
-
-
+
+
[table]
-
+
id
-
+
-
+
bigserial not null
-
+
-
+
auto-incremented
-
+
email_address
-
+
-
+
text not null
-
+
gaia_id
-
+
-
+
text
-
+
registry_lock_password_hash
-
+
-
+
text
-
+
registry_lock_password_salt
-
+
-
+
text
-
+
global_role
-
+
-
+
text not null
-
+
is_admin
-
+
-
+
bool not null
-
+
registrar_roles
-
+
-
+
"hstore" not null
-
+
update_timestamp
-
+
-
+
timestamptz
-
+
@@ -11920,11 +11912,6 @@ td.section {
expiration_time
timestamptz not null
-
-
- request_log_id
- text
-
diff --git a/db/src/main/resources/sql/flyway.txt b/db/src/main/resources/sql/flyway.txt
index 189aaf98a..cd2e92936 100644
--- a/db/src/main/resources/sql/flyway.txt
+++ b/db/src/main/resources/sql/flyway.txt
@@ -139,3 +139,4 @@ V138__drop_dns_refresh_request_time_column.sql
V139__add_allowed_epp_actions_column.sql
V140__rename_process_time_column_in_dns_refresh_request_table.sql
V141__add_ttl_columns_to_tld.sql
+V142__drop_request_log_id.sql
diff --git a/db/src/main/resources/sql/flyway/V142__drop_request_log_id.sql b/db/src/main/resources/sql/flyway/V142__drop_request_log_id.sql
new file mode 100644
index 000000000..9d3108837
--- /dev/null
+++ b/db/src/main/resources/sql/flyway/V142__drop_request_log_id.sql
@@ -0,0 +1,16 @@
+-- Copyright 2022 The Nomulus Authors. All Rights Reserved.
+--
+-- Licensed under the Apache License, Version 2.0 (the "License");
+-- you may not use this file except in compliance with the License.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+
+ALTER TABLE "Lock" DROP COLUMN request_log_id;
+
diff --git a/db/src/main/resources/sql/schema/nomulus.golden.sql b/db/src/main/resources/sql/schema/nomulus.golden.sql
index d737aa7ab..ce4d2b314 100644
--- a/db/src/main/resources/sql/schema/nomulus.golden.sql
+++ b/db/src/main/resources/sql/schema/nomulus.golden.sql
@@ -674,8 +674,7 @@ CREATE TABLE public."Lock" (
resource_name text NOT NULL,
scope text NOT NULL,
acquired_time timestamp with time zone NOT NULL,
- expiration_time timestamp with time zone NOT NULL,
- request_log_id text
+ expiration_time timestamp with time zone NOT NULL
);