mirror of
https://github.com/google/nomulus.git
synced 2025-07-26 12:38:32 +02:00
Restore ofy keys in DomainTransferData (#838)
* Restore ofy keys in DomainTransferData Restore composite VKeys correctly in DomainTransferData (they were previously missing their ofy keys). * Use "AlsoLoad" to populate history ids
This commit is contained in:
parent
4ec7f23e84
commit
3534a146e4
8 changed files with 217 additions and 7 deletions
|
@ -61,3 +61,4 @@ V60__remove_pollmessage_sequence.sql
|
|||
V61__domain_hist_columns.sql
|
||||
V62__disable_key_auto_generation_for_history_tables.sql
|
||||
V63__add_schema_for_ds_data.sql
|
||||
V64__transfer_history_columns.sql
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
-- Copyright 2020 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 "Domain" ADD COLUMN transfer_billing_recurrence_history_id int8;
|
||||
ALTER TABLE "Domain" ADD COLUMN transfer_autorenew_poll_message_history_id int8;
|
||||
ALTER TABLE "Domain" ADD COLUMN transfer_billing_event_history_id int8;
|
||||
|
||||
ALTER TABLE "DomainHistory" ADD COLUMN transfer_billing_recurrence_history_id int8;
|
||||
ALTER TABLE "DomainHistory" ADD COLUMN transfer_autorenew_poll_message_history_id int8;
|
||||
ALTER TABLE "DomainHistory" ADD COLUMN transfer_billing_event_history_id int8;
|
|
@ -271,8 +271,11 @@
|
|||
tld text,
|
||||
transfer_billing_cancellation_id int8,
|
||||
transfer_billing_recurrence_id int8,
|
||||
transfer_billing_recurrence_history_id int8,
|
||||
transfer_autorenew_poll_message_id int8,
|
||||
transfer_autorenew_poll_message_history_id int8,
|
||||
transfer_billing_event_id int8,
|
||||
transfer_billing_event_history_id int8,
|
||||
transfer_renew_period_unit text,
|
||||
transfer_renew_period_value int4,
|
||||
transfer_registration_expiration_time timestamptz,
|
||||
|
@ -326,8 +329,11 @@
|
|||
tld text,
|
||||
transfer_billing_cancellation_id int8,
|
||||
transfer_billing_recurrence_id int8,
|
||||
transfer_billing_recurrence_history_id int8,
|
||||
transfer_autorenew_poll_message_id int8,
|
||||
transfer_autorenew_poll_message_history_id int8,
|
||||
transfer_billing_event_id int8,
|
||||
transfer_billing_event_history_id int8,
|
||||
transfer_renew_period_unit text,
|
||||
transfer_renew_period_value int4,
|
||||
transfer_registration_expiration_time timestamptz,
|
||||
|
|
|
@ -369,7 +369,10 @@ CREATE TABLE public."Domain" (
|
|||
autorenew_end_time timestamp with time zone,
|
||||
billing_recurrence_history_id bigint,
|
||||
autorenew_poll_message_history_id bigint,
|
||||
deletion_poll_message_history_id bigint
|
||||
deletion_poll_message_history_id bigint,
|
||||
transfer_billing_recurrence_history_id bigint,
|
||||
transfer_autorenew_poll_message_history_id bigint,
|
||||
transfer_billing_event_history_id bigint
|
||||
);
|
||||
|
||||
|
||||
|
@ -439,7 +442,10 @@ CREATE TABLE public."DomainHistory" (
|
|||
history_period_value integer,
|
||||
billing_recurrence_history_id bigint,
|
||||
autorenew_poll_message_history_id bigint,
|
||||
deletion_poll_message_history_id bigint
|
||||
deletion_poll_message_history_id bigint,
|
||||
transfer_billing_recurrence_history_id bigint,
|
||||
transfer_autorenew_poll_message_history_id bigint,
|
||||
transfer_billing_event_history_id bigint
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue