mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02:00
Remove unused columns in BillingCancellation (#1721)
We stopped using these columns after BillingVKey is removed in https://github.com/google/nomulus/pull/1710.
This commit is contained in:
parent
1a4b1c45bd
commit
50acadcbe6
5 changed files with 1913 additions and 1949 deletions
|
@ -261,11 +261,11 @@ td.section {
|
|||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">generated on</td>
|
||||
<td class="property_value">2022-07-28 19:22:42.07612</td>
|
||||
<td class="property_value">2022-08-03 03:39:41.842844</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">last flyway file</td>
|
||||
<td id="lastFlywayFile" class="property_value">V122__add_current_package_token_to_domain.sql</td>
|
||||
<td id="lastFlywayFile" class="property_value">V123__drop_unused_columns_in_billing_cancellation_table.sql</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
@ -274,19 +274,19 @@ td.section {
|
|||
<svg viewbox="0.00 0.00 4029.00 2877.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="erDiagram" style="overflow: hidden; width: 100%; height: 800px"><g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 2873)">
|
||||
<title>SchemaCrawler_Diagram</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-2873 4025,-2873 4025,4 -4,4" />
|
||||
<text text-anchor="start" x="3760.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="3752.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
generated by
|
||||
</text>
|
||||
<text text-anchor="start" x="3843.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="3835.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
SchemaCrawler 16.10.1
|
||||
</text>
|
||||
<text text-anchor="start" x="3759.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
<text text-anchor="start" x="3751.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
generated on
|
||||
</text>
|
||||
<text text-anchor="start" x="3843.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
2022-07-28 19:22:42.07612
|
||||
<text text-anchor="start" x="3835.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
|
||||
2022-08-03 03:39:41.842844
|
||||
</text>
|
||||
<polygon fill="none" stroke="#888888" points="3756,-4 3756,-44 4013,-44 4013,-4 3756,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<polygon fill="none" stroke="#888888" points="3748,-4 3748,-44 4013,-44 4013,-4 3748,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<g id="node1" class="node">
|
||||
<title>allocationtoken_a08ccbef</title>
|
||||
<polygon fill="#ebcef2" stroke="transparent" points="1091.5,-495 1091.5,-514 1277.5,-514 1277.5,-495 1091.5,-495" />
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -120,3 +120,4 @@ V119__token_registration_behavior.sql
|
|||
V120__remove_ofy_key_fields.sql
|
||||
V121__drop_sql_checkpoint_and_txn.sql
|
||||
V122__add_current_package_token_to_domain.sql
|
||||
V123__drop_unused_columns_in_billing_cancellation_table.sql
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
-- 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 "BillingCancellation" DROP COLUMN billing_event_domain_repo_id;
|
||||
ALTER TABLE "BillingCancellation" DROP COLUMN billing_event_history_id;
|
||||
ALTER TABLE "BillingCancellation" DROP COLUMN billing_recurrence_domain_repo_id;
|
||||
ALTER TABLE "BillingCancellation" DROP COLUMN billing_recurrence_history_id;
|
||||
|
|
@ -72,11 +72,7 @@ CREATE TABLE public."BillingCancellation" (
|
|||
domain_name text NOT NULL,
|
||||
billing_time timestamp with time zone,
|
||||
billing_event_id bigint,
|
||||
billing_recurrence_id bigint,
|
||||
billing_event_history_id bigint,
|
||||
billing_event_domain_repo_id text,
|
||||
billing_recurrence_history_id bigint,
|
||||
billing_recurrence_domain_repo_id text
|
||||
billing_recurrence_id bigint
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue