1
0
mirror of https://github.com/google/nomulus synced 2026-05-22 07:41:50 +00:00

Rename console update mod time to history_modification_time (#2363)

This commit is contained in:
gbrodman
2024-03-12 16:38:15 -04:00
committed by GitHub
parent 6acb14c60d
commit 0f02858965
8 changed files with 102 additions and 34 deletions

View File

@@ -261,11 +261,11 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2024-02-28 21:05:41.339823732</td>
<td class="property_value">2024-03-11 20:42:54.463293864</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
<td id="lastFlywayFile" class="property_value">V160__user_update_history_indexes.sql</td>
<td id="lastFlywayFile" class="property_value">V164__rename_console_user_history_time.sql</td>
</tr>
</tbody>
</table>
@@ -280,7 +280,7 @@ td.section {
<text text-anchor="start" x="3730.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text>
<text text-anchor="start" x="3813.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.10.1</text>
<text text-anchor="start" x="3729.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text>
<text text-anchor="start" x="3813.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-02-28 21:05:41.339823732</text>
<text text-anchor="start" x="3813.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-03-11 20:42:54.463293864</text>
<polygon fill="none" stroke="#888888" points="3726,-4 3726,-44 4013,-44 4013,-4 3726,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">
<title>
@@ -1226,7 +1226,7 @@ td.section {
<text text-anchor="start" x="1294.5" y="-115.3" font-family="Helvetica,sans-Serif" font-size="14.00">int8 not null</text>
<text text-anchor="start" x="1079.5" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00">repo_id</text>
<text text-anchor="start" x="1246.5" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1294.5" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00">text</text>
<text text-anchor="start" x="1294.5" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00">text not null</text>
<text text-anchor="start" x="1079.5" y="-77.3" font-family="Helvetica,sans-Serif" font-size="14.00">revision_id</text>
<text text-anchor="start" x="1246.5" y="-77.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1294.5" y="-77.3" font-family="Helvetica,sans-Serif" font-size="14.00">int8 not null</text>
@@ -3397,7 +3397,7 @@ td.section {
<tr>
<td class="spacer"></td>
<td class="minwidth">repo_id</td>
<td class="minwidth">text</td>
<td class="minwidth">text not null</td>
</tr>
<tr>
<td class="spacer"></td>

View File

@@ -261,11 +261,11 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2024-02-28 21:05:38.949362998</td>
<td class="property_value">2024-03-11 20:42:51.738018408</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
<td id="lastFlywayFile" class="property_value">V160__user_update_history_indexes.sql</td>
<td id="lastFlywayFile" class="property_value">V164__rename_console_user_history_time.sql</td>
</tr>
</tbody>
</table>
@@ -280,7 +280,7 @@ td.section {
<text text-anchor="start" x="4443.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text>
<text text-anchor="start" x="4526.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.10.1</text>
<text text-anchor="start" x="4442.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text>
<text text-anchor="start" x="4526.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-02-28 21:05:38.949362998</text>
<text text-anchor="start" x="4526.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-03-11 20:42:51.738018408</text>
<polygon fill="none" stroke="#888888" points="4439,-4 4439,-44 4726,-44 4726,-4 4439,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">
<title>
@@ -2032,34 +2032,34 @@ td.section {
<polygon fill="#ebcef2" stroke="transparent" points="1605,-242.5 1605,-261.5 1731,-261.5 1731,-242.5 1605,-242.5" />
<text text-anchor="start" x="1692" y="-248.3" font-family="Helvetica,sans-Serif" font-size="14.00">[table]</text>
<text text-anchor="start" x="1392" y="-230.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">history_revision_id</text>
<text text-anchor="start" x="1562" y="-229.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1574" y="-229.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-229.3" font-family="Helvetica,sans-Serif" font-size="14.00">int8 not null</text>
<text text-anchor="start" x="1392" y="-210.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_date_time</text>
<text text-anchor="start" x="1562" y="-210.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1392" y="-210.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_modification_time</text>
<text text-anchor="start" x="1574" y="-210.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-210.3" font-family="Helvetica,sans-Serif" font-size="14.00">timestamptz not null</text>
<text text-anchor="start" x="1392" y="-191.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_method</text>
<text text-anchor="start" x="1562" y="-191.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1574" y="-191.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-191.3" font-family="Helvetica,sans-Serif" font-size="14.00">text not null</text>
<text text-anchor="start" x="1392" y="-172.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_request_body</text>
<text text-anchor="start" x="1562" y="-172.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1574" y="-172.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-172.3" font-family="Helvetica,sans-Serif" font-size="14.00">text</text>
<text text-anchor="start" x="1392" y="-153.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_type</text>
<text text-anchor="start" x="1562" y="-153.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1574" y="-153.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-153.3" font-family="Helvetica,sans-Serif" font-size="14.00">text not null</text>
<text text-anchor="start" x="1392" y="-134.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_url</text>
<text text-anchor="start" x="1562" y="-134.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1574" y="-134.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-134.3" font-family="Helvetica,sans-Serif" font-size="14.00">text not null</text>
<text text-anchor="start" x="1392" y="-115.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_entry_class</text>
<text text-anchor="start" x="1562" y="-115.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-115.3" font-family="Helvetica,sans-Serif" font-size="14.00">text</text>
<text text-anchor="start" x="1574" y="-115.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-115.3" font-family="Helvetica,sans-Serif" font-size="14.00">text not null</text>
<text text-anchor="start" x="1392" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00">repo_id</text>
<text text-anchor="start" x="1562" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00">text</text>
<text text-anchor="start" x="1574" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-96.3" font-family="Helvetica,sans-Serif" font-size="14.00">text not null</text>
<text text-anchor="start" x="1392" y="-77.3" font-family="Helvetica,sans-Serif" font-size="14.00">revision_id</text>
<text text-anchor="start" x="1562" y="-77.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1574" y="-77.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-77.3" font-family="Helvetica,sans-Serif" font-size="14.00">int8 not null</text>
<text text-anchor="start" x="1392" y="-58.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_acting_user</text>
<text text-anchor="start" x="1562" y="-58.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1574" y="-58.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1607" y="-58.3" font-family="Helvetica,sans-Serif" font-size="14.00">text not null</text>
<polygon fill="none" stroke="#888888" points="1388.5,-52 1388.5,-263 1731.5,-263 1731.5,-52 1388.5,-52" />
</g> <!-- user_f2216f01 -->
@@ -3478,7 +3478,7 @@ td.section {
<text text-anchor="start" x="1345" y="-1617.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">history_revision_id</text>
<text text-anchor="start" x="1645" y="-1616.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1653" y="-1616.3" font-family="Helvetica,sans-Serif" font-size="14.00">int8 not null</text>
<text text-anchor="start" x="1345" y="-1597.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_date_time</text>
<text text-anchor="start" x="1345" y="-1597.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_modification_time</text>
<text text-anchor="start" x="1645" y="-1597.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1653" y="-1597.3" font-family="Helvetica,sans-Serif" font-size="14.00">timestamptz not null</text>
<text text-anchor="start" x="1345" y="-1578.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_method</text>
@@ -3673,7 +3673,7 @@ td.section {
<text text-anchor="start" x="1374" y="-2063.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">history_revision_id</text>
<text text-anchor="start" x="1617" y="-2062.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1625" y="-2062.3" font-family="Helvetica,sans-Serif" font-size="14.00">int8 not null</text>
<text text-anchor="start" x="1374" y="-2043.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_date_time</text>
<text text-anchor="start" x="1374" y="-2043.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_modification_time</text>
<text text-anchor="start" x="1617" y="-2043.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1625" y="-2043.3" font-family="Helvetica,sans-Serif" font-size="14.00">timestamptz not null</text>
<text text-anchor="start" x="1374" y="-2024.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_method</text>
@@ -4032,7 +4032,7 @@ td.section {
<text text-anchor="start" x="1404" y="-563.3" font-family="Helvetica,sans-Serif" font-weight="bold" font-style="italic" font-size="14.00">history_revision_id</text>
<text text-anchor="start" x="1586" y="-562.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1594" y="-562.3" font-family="Helvetica,sans-Serif" font-size="14.00">int8 not null</text>
<text text-anchor="start" x="1404" y="-543.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_date_time</text>
<text text-anchor="start" x="1404" y="-543.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_modification_time</text>
<text text-anchor="start" x="1586" y="-543.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
<text text-anchor="start" x="1594" y="-543.3" font-family="Helvetica,sans-Serif" font-size="14.00">timestamptz not null</text>
<text text-anchor="start" x="1404" y="-524.3" font-family="Helvetica,sans-Serif" font-size="14.00">history_method</text>
@@ -5650,7 +5650,7 @@ td.section {
</tr>
<tr>
<td class="spacer"></td>
<td class="minwidth">history_date_time</td>
<td class="minwidth">history_modification_time</td>
<td class="minwidth">timestamptz not null</td>
</tr>
<tr>
@@ -5676,12 +5676,12 @@ td.section {
<tr>
<td class="spacer"></td>
<td class="minwidth">history_entry_class</td>
<td class="minwidth">text</td>
<td class="minwidth">text not null</td>
</tr>
<tr>
<td class="spacer"></td>
<td class="minwidth">repo_id</td>
<td class="minwidth">text</td>
<td class="minwidth">text not null</td>
</tr>
<tr>
<td class="spacer"></td>
@@ -11344,7 +11344,7 @@ td.section {
</tr>
<tr>
<td class="spacer"></td>
<td class="minwidth">history_date_time</td>
<td class="minwidth">history_modification_time</td>
<td class="minwidth">timestamptz not null</td>
</tr>
<tr>
@@ -11564,7 +11564,7 @@ td.section {
</tr>
<tr>
<td class="spacer"></td>
<td class="minwidth">history_date_time</td>
<td class="minwidth">history_modification_time</td>
<td class="minwidth">timestamptz not null</td>
</tr>
<tr>
@@ -13181,7 +13181,7 @@ td.section {
</tr>
<tr>
<td class="spacer"></td>
<td class="minwidth">history_date_time</td>
<td class="minwidth">history_modification_time</td>
<td class="minwidth">timestamptz not null</td>
</tr>
<tr>

View File

@@ -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

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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;

View File

@@ -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,