Add renewal price behavior to AllocationToken (#1580)

This commit is contained in:
Rachel Guan 2022-04-04 18:51:49 -04:00 committed by GitHub
parent 82a215c807
commit 5bd64faf21
5 changed files with 2607 additions and 2577 deletions

View file

@ -261,11 +261,11 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2022-03-30 20:53:20.574091</td>
<td class="property_value">2022-04-01 16:53:26.766163</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
<td id="lastFlywayFile" class="property_value">V115__add_renewal_columns_to_billing_recurrence.sql</td>
<td id="lastFlywayFile" class="property_value">V116__add_renewal_column_to_allocation_token.sql</td>
</tr>
</tbody>
</table>
@ -284,7 +284,7 @@ td.section {
generated on
</text>
<text text-anchor="start" x="4055.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
2022-03-30 20:53:20.574091
2022-04-01 16:53:26.766163
</text>
<polygon fill="none" stroke="#888888" points="3968,-4 3968,-44 4233,-44 4233,-4 3968,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">

File diff suppressed because it is too large Load diff

View file

@ -113,3 +113,4 @@ V112__add_billingrecurrence_missing_indexes.sql
V113__add_host_missing_indexes.sql
V114__add_allocation_token_indexes.sql
V115__add_renewal_columns_to_billing_recurrence.sql
V116__add_renewal_column_to_allocation_token.sql

View file

@ -0,0 +1,15 @@
-- 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 "AllocationToken" add column renewal_price_behavior text default 'DEFAULT' not null;

View file

@ -51,7 +51,8 @@ CREATE TABLE public."AllocationToken" (
redemption_domain_repo_id text,
token_status_transitions public.hstore,
token_type text,
redemption_domain_history_id bigint
redemption_domain_history_id bigint,
renewal_price_behavior text DEFAULT 'DEFAULT'::text NOT NULL
);