mirror of
https://github.com/google/nomulus
synced 2026-09-27 02:14:14 +00:00
Add renewalPrice fields to AllocationToken in SQL (#2462)
This is an optional field (will be required when the renewal price behavior is SPECIFIED). This will allow us to set arbitrary renewal prices for domains as part of one-off negotiations. https://b.corp.google.com/issues/332928676
This commit is contained in:
@@ -261,11 +261,11 @@ td.section {
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_name">generated on</td>
|
<td class="property_name">generated on</td>
|
||||||
<td class="property_value">2024-05-10 19:17:39.481284329</td>
|
<td class="property_value">2024-05-30 20:54:05.059075326</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td class="property_name">last flyway file</td>
|
<td class="property_name">last flyway file</td>
|
||||||
<td id="lastFlywayFile" class="property_value">V171__drop_create_billing_cost_columns_from_tld.sql</td>
|
<td id="lastFlywayFile" class="property_value">V172__allocation_token_renewal_price.sql</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</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="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="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="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-05-10 19:17:39.481284329</text>
|
<text text-anchor="start" x="3813.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-05-30 20:54:05.059075326</text>
|
||||||
<polygon fill="none" stroke="#888888" points="3726,-4 3726,-44 4013,-44 4013,-4 3726,-4" /> <!-- allocationtoken_a08ccbef -->
|
<polygon fill="none" stroke="#888888" points="3726,-4 3726,-44 4013,-44 4013,-4 3726,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||||
<g id="node1" class="node">
|
<g id="node1" class="node">
|
||||||
<title>
|
<title>
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@@ -169,3 +169,4 @@ V168__registry_lock_email.sql
|
|||||||
V169__add_more_indexes_needed_for_delete_prober_data.sql
|
V169__add_more_indexes_needed_for_delete_prober_data.sql
|
||||||
V170__user_update_registry_lock_email.sql
|
V170__user_update_registry_lock_email.sql
|
||||||
V171__drop_create_billing_cost_columns_from_tld.sql
|
V171__drop_create_billing_cost_columns_from_tld.sql
|
||||||
|
V172__allocation_token_renewal_price.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 "AllocationToken" ADD COLUMN renewal_price_amount numeric(19, 2);
|
||||||
|
ALTER TABLE "AllocationToken" ADD COLUMN renewal_price_currency text;
|
||||||
@@ -54,7 +54,9 @@ CREATE TABLE public."AllocationToken" (
|
|||||||
redemption_domain_history_id bigint,
|
redemption_domain_history_id bigint,
|
||||||
renewal_price_behavior text DEFAULT 'DEFAULT'::text NOT NULL,
|
renewal_price_behavior text DEFAULT 'DEFAULT'::text NOT NULL,
|
||||||
registration_behavior text DEFAULT 'DEFAULT'::text NOT NULL,
|
registration_behavior text DEFAULT 'DEFAULT'::text NOT NULL,
|
||||||
allowed_epp_actions text[]
|
allowed_epp_actions text[],
|
||||||
|
renewal_price_amount numeric(19,2),
|
||||||
|
renewal_price_currency text
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user