mirror of
https://github.com/google/nomulus.git
synced 2025-08-03 00:12:11 +02:00
Add Flyway file for lastManualUpdateTime (#1828)
See b/248035435 for more details / reasoning, but basically this will make it easier if we ever need to restore user actions in the future (or figure out which user actions went wrong)
This commit is contained in:
parent
bef28d2e34
commit
c24177e8a6
5 changed files with 1409 additions and 1330 deletions
|
@ -261,11 +261,11 @@ td.section {
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">generated on</td>
|
||||
<td class="property_value">2023-06-06 17:51:42.337598</td>
|
||||
<td class="property_value">2023-07-07 17:30:23.191251</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">last flyway file</td>
|
||||
<td id="lastFlywayFile" class="property_value">V145__add_breakglass_mode_to_tld_table.sql</td>
|
||||
<td id="lastFlywayFile" class="property_value">V146__last_update_time_via_epp.sql</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -285,7 +285,7 @@ td.section {
|
|||
generated on
|
||||
</text>
|
||||
<text text-anchor="start" x="3835.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
2023-06-06 17:51:42.337598
|
||||
2023-07-07 17:30:23.191251
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="3748,-4 3748,-44 4013,-44 4013,-4 3748,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<g id="node1" class="node">
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -143,3 +143,4 @@ V142__drop_request_log_id.sql
|
|||
V143__idn_per_tld.sql
|
||||
V144__drop_database_migration_state_schedule_table.sql
|
||||
V145__add_breakglass_mode_to_tld_table.sql
|
||||
V146__last_update_time_via_epp.sql
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
-- 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 "Contact" ADD COLUMN last_update_time_via_epp timestamptz;
|
||||
ALTER TABLE "ContactHistory" ADD COLUMN last_update_time_via_epp timestamptz;
|
||||
ALTER TABLE "Domain" ADD COLUMN last_update_time_via_epp timestamptz;
|
||||
ALTER TABLE "DomainHistory" ADD COLUMN last_update_time_via_epp timestamptz;
|
||||
ALTER TABLE "Host" ADD COLUMN last_update_time_via_epp timestamptz;
|
||||
ALTER TABLE "HostHistory" ADD COLUMN last_update_time_via_epp timestamptz;
|
|
@ -226,7 +226,8 @@ CREATE TABLE public."Contact" (
|
|||
update_timestamp timestamp with time zone,
|
||||
transfer_history_entry_id bigint,
|
||||
transfer_repo_id text,
|
||||
transfer_poll_message_id_3 bigint
|
||||
transfer_poll_message_id_3 bigint,
|
||||
last_update_time_via_epp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -302,7 +303,8 @@ CREATE TABLE public."ContactHistory" (
|
|||
update_timestamp timestamp with time zone,
|
||||
transfer_history_entry_id bigint,
|
||||
transfer_repo_id text,
|
||||
transfer_poll_message_id_3 bigint
|
||||
transfer_poll_message_id_3 bigint,
|
||||
last_update_time_via_epp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -420,7 +422,8 @@ CREATE TABLE public."Domain" (
|
|||
transfer_repo_id text,
|
||||
transfer_poll_message_id_3 bigint,
|
||||
current_package_token text,
|
||||
lordn_phase text DEFAULT 'NONE'::text NOT NULL
|
||||
lordn_phase text DEFAULT 'NONE'::text NOT NULL,
|
||||
last_update_time_via_epp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -509,7 +512,8 @@ CREATE TABLE public."DomainHistory" (
|
|||
transfer_repo_id text,
|
||||
transfer_poll_message_id_3 bigint,
|
||||
current_package_token text,
|
||||
lordn_phase text DEFAULT 'NONE'::text NOT NULL
|
||||
lordn_phase text DEFAULT 'NONE'::text NOT NULL,
|
||||
last_update_time_via_epp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -619,7 +623,8 @@ CREATE TABLE public."Host" (
|
|||
superordinate_domain text,
|
||||
inet_addresses text[],
|
||||
update_timestamp timestamp with time zone,
|
||||
transfer_poll_message_id_3 bigint
|
||||
transfer_poll_message_id_3 bigint,
|
||||
last_update_time_via_epp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
|
@ -652,7 +657,8 @@ CREATE TABLE public."HostHistory" (
|
|||
statuses text[],
|
||||
host_repo_id text NOT NULL,
|
||||
update_timestamp timestamp with time zone,
|
||||
transfer_poll_message_id_3 bigint
|
||||
transfer_poll_message_id_3 bigint,
|
||||
last_update_time_via_epp timestamp with time zone
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue