1
0
mirror of https://github.com/google/nomulus synced 2026-02-06 13:01:11 +00:00

First PR for adding discount price into AllocationToken. (#2547)

This commit is contained in:
Juan Celhay
2024-09-06 16:46:04 -04:00
committed by GitHub
parent f082ffffe3
commit 4d3dec54cf
5 changed files with 1963 additions and 1928 deletions

View File

@@ -261,11 +261,11 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2024-08-14 16:47:59</td>
<td class="property_value">2024-09-05 17:37:16</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
<td id="lastFlywayFile" class="property_value">V178__drop_user_id_history.sql</td>
<td id="lastFlywayFile" class="property_value">V179__add_discount_price_allocation_token.sql</td>
</tr>
</tbody>
</table>
@@ -280,7 +280,7 @@ td.section {
<text text-anchor="start" x="3795" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text>
<text text-anchor="start" x="3878" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.21.4</text>
<text text-anchor="start" x="3794" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text>
<text text-anchor="start" x="3878" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-08-14 16:47:59</text>
<text text-anchor="start" x="3878" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-09-05 17:37:16</text>
<polygon fill="none" stroke="#888888" points="3791,-4 3791,-44 4027,-44 4027,-4 3791,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">
<title>

File diff suppressed because it is too large Load Diff

View File

@@ -176,3 +176,4 @@ V175__user_update_history_id.sql
V176__drop_login_email_address_column_from_registrar_poc.sql
V177__drop_user_id.sql
V178__drop_user_id_history.sql
V179__add_discount_price_allocation_token.sql

View File

@@ -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 discount_price_amount numeric(19, 2);
ALTER TABLE "AllocationToken" ADD COLUMN discount_price_currency text;

View File

@@ -56,7 +56,9 @@ CREATE TABLE public."AllocationToken" (
registration_behavior text DEFAULT 'DEFAULT'::text NOT NULL,
allowed_epp_actions text[],
renewal_price_amount numeric(19,2),
renewal_price_currency text
renewal_price_currency text,
discount_price_amount numeric(19,2),
discount_price_currency text
);