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 b266f89a6f6..e6a61256f3a 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 @@
System Information
generated on |
- 2024-02-28 21:05:41.339823732 |
+ 2024-03-11 20:42:54.463293864 |
last flyway file |
- V160__user_update_history_indexes.sql |
+ V164__rename_console_user_history_time.sql |
@@ -280,7 +280,7 @@ System Information
generated by
SchemaCrawler 16.10.1
generated on
- 2024-02-28 21:05:41.339823732
+ 2024-03-11 20:42:54.463293864
@@ -1226,7 +1226,7 @@ System Information
int8 not null
repo_id
- text
+ text not null
revision_id
int8 not null
@@ -3397,7 +3397,7 @@ Tables
|
repo_id |
- text |
+ text not null |
|
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 210f6e0cedb..700f6ab8416 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,11 +261,11 @@ System Information
generated on |
- 2024-02-28 21:05:38.949362998 |
+ 2024-03-11 20:42:51.738018408 |
last flyway file |
- V160__user_update_history_indexes.sql |
+ V164__rename_console_user_history_time.sql |
@@ -280,7 +280,7 @@ System Information
generated by
SchemaCrawler 16.10.1
generated on
- 2024-02-28 21:05:38.949362998
+ 2024-03-11 20:42:51.738018408
@@ -2032,34 +2032,34 @@ System Information
[table]
history_revision_id
-
+
int8 not null
- history_date_time
-
+ history_modification_time
+
timestamptz not null
history_method
-
+
text not null
history_request_body
-
+
text
history_type
-
+
text not null
history_url
-
+
text not null
history_entry_class
-
- text
+
+ text not null
repo_id
-
- text
+
+ text not null
revision_id
-
+
int8 not null
history_acting_user
-
+
text not null
@@ -3478,7 +3478,7 @@ System Information
history_revision_id
int8 not null
- history_date_time
+ history_modification_time
timestamptz not null
history_method
@@ -3673,7 +3673,7 @@ System Information
history_revision_id
int8 not null
- history_date_time
+ history_modification_time
timestamptz not null
history_method
@@ -4032,7 +4032,7 @@ System Information
history_revision_id
int8 not null
- history_date_time
+ history_modification_time
timestamptz not null
history_method
@@ -5650,7 +5650,7 @@ Tables
|
- history_date_time |
+ history_modification_time |
timestamptz not null |
@@ -5676,12 +5676,12 @@ Tables
|
history_entry_class |
- text |
+ text not null |
|
repo_id |
- text |
+ text not null |
|
@@ -11344,7 +11344,7 @@ Tables
|
- history_date_time |
+ history_modification_time |
timestamptz not null |
@@ -11564,7 +11564,7 @@ Tables
|
- history_date_time |
+ history_modification_time |
timestamptz not null |
@@ -13181,7 +13181,7 @@ Tables
|
- history_date_time |
+ history_modification_time |
timestamptz not null |
diff --git a/db/src/main/resources/sql/flyway.txt b/db/src/main/resources/sql/flyway.txt
index e161a42be2f..9f71b575580 100644
--- a/db/src/main/resources/sql/flyway.txt
+++ b/db/src/main/resources/sql/flyway.txt
@@ -158,3 +158,7 @@ V157__console_epp_action_history_indexes.sql
V158__registrar_poc_update_history_indexes.sql
V159__registrar_update_history_indexes.sql
V160__user_update_history_indexes.sql
+V161__rename_console_epp_history_time.sql
+V162__rename_console_poc_history_time.sql
+V163__rename_console_registrar_history_time.sql
+V164__rename_console_user_history_time.sql
diff --git a/db/src/main/resources/sql/flyway/V161__rename_console_epp_history_time.sql b/db/src/main/resources/sql/flyway/V161__rename_console_epp_history_time.sql
new file mode 100644
index 00000000000..f8e6c356664
--- /dev/null
+++ b/db/src/main/resources/sql/flyway/V161__rename_console_epp_history_time.sql
@@ -0,0 +1,16 @@
+-- Copyright 2024 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 "ConsoleEppActionHistory" RENAME COLUMN history_date_time
+ TO history_modification_time;
diff --git a/db/src/main/resources/sql/flyway/V162__rename_console_poc_history_time.sql b/db/src/main/resources/sql/flyway/V162__rename_console_poc_history_time.sql
new file mode 100644
index 00000000000..7081beccaf4
--- /dev/null
+++ b/db/src/main/resources/sql/flyway/V162__rename_console_poc_history_time.sql
@@ -0,0 +1,16 @@
+-- Copyright 2024 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 "RegistrarPocUpdateHistory" RENAME COLUMN history_date_time
+ TO history_modification_time;
diff --git a/db/src/main/resources/sql/flyway/V163__rename_console_registrar_history_time.sql b/db/src/main/resources/sql/flyway/V163__rename_console_registrar_history_time.sql
new file mode 100644
index 00000000000..f84404abcf3
--- /dev/null
+++ b/db/src/main/resources/sql/flyway/V163__rename_console_registrar_history_time.sql
@@ -0,0 +1,16 @@
+-- Copyright 2024 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 "RegistrarUpdateHistory" RENAME COLUMN history_date_time
+ TO history_modification_time;
diff --git a/db/src/main/resources/sql/flyway/V164__rename_console_user_history_time.sql b/db/src/main/resources/sql/flyway/V164__rename_console_user_history_time.sql
new file mode 100644
index 00000000000..2438e1cf87d
--- /dev/null
+++ b/db/src/main/resources/sql/flyway/V164__rename_console_user_history_time.sql
@@ -0,0 +1,16 @@
+-- Copyright 2024 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 "UserUpdateHistory" RENAME COLUMN history_date_time
+ TO history_modification_time;
diff --git a/db/src/main/resources/sql/schema/nomulus.golden.sql b/db/src/main/resources/sql/schema/nomulus.golden.sql
index 67b0d571b6f..44974b6e9d2 100644
--- a/db/src/main/resources/sql/schema/nomulus.golden.sql
+++ b/db/src/main/resources/sql/schema/nomulus.golden.sql
@@ -255,7 +255,7 @@ ALTER SEQUENCE public."ClaimsList_revision_id_seq" OWNED BY public."ClaimsList".
CREATE TABLE public."ConsoleEppActionHistory" (
history_revision_id bigint NOT NULL,
- history_date_time timestamp with time zone NOT NULL,
+ history_modification_time timestamp with time zone NOT NULL,
history_method text NOT NULL,
history_request_body text,
history_type text NOT NULL,
@@ -985,7 +985,7 @@ CREATE TABLE public."RegistrarPoc" (
CREATE TABLE public."RegistrarPocUpdateHistory" (
history_revision_id bigint NOT NULL,
- history_date_time timestamp with time zone NOT NULL,
+ history_modification_time timestamp with time zone NOT NULL,
history_method text NOT NULL,
history_request_body text,
history_type text NOT NULL,
@@ -1014,7 +1014,7 @@ CREATE TABLE public."RegistrarPocUpdateHistory" (
CREATE TABLE public."RegistrarUpdateHistory" (
history_revision_id bigint NOT NULL,
- history_date_time timestamp with time zone NOT NULL,
+ history_modification_time timestamp with time zone NOT NULL,
history_method text NOT NULL,
history_request_body text,
history_type text NOT NULL,
@@ -1325,7 +1325,7 @@ CREATE TABLE public."User" (
CREATE TABLE public."UserUpdateHistory" (
history_revision_id bigint NOT NULL,
- history_date_time timestamp with time zone NOT NULL,
+ history_modification_time timestamp with time zone NOT NULL,
history_method text NOT NULL,
history_request_body text,
history_type text NOT NULL,