1
0
mirror of https://github.com/google/nomulus synced 2026-04-24 18:20:47 +00:00

Add expiry_access_period_enabled boolean column to Tld table (#2804)

This is the first in a series of PRs to implement the expiry access period
(XAP).  The overall fee schedules will be set in YAML config files, so the only
DB change necessary should be this single new boolean column on the Tld entity,
which defaults to false so as to require XAP explicitly being turned on for a
given TLD.

BUG=http://b/437398822
This commit is contained in:
Ben McIlwain
2025-08-18 18:32:46 -04:00
committed by GitHub
parent 1164070576
commit a61a667992
5 changed files with 2581 additions and 2550 deletions

View File

@@ -261,11 +261,11 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2025-06-04 18:53:06</td>
<td class="property_value">2025-08-18 18:05:23</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
<td id="lastFlywayFile" class="property_value">V195__registrar_poc_id.sql</td>
<td id="lastFlywayFile" class="property_value">V196__tld_expiry_access_period_enabled.sql</td>
</tr>
</tbody>
</table>
@@ -280,7 +280,7 @@ td.section {
<text text-anchor="start" x="4655" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text>
<text text-anchor="start" x="4738" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.25.2</text>
<text text-anchor="start" x="4654" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text>
<text text-anchor="start" x="4738" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2025-06-04 18:53:06</text>
<text text-anchor="start" x="4738" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2025-08-18 18:05:23</text>
<polygon fill="none" stroke="#888888" points="4651,-4 4651,-44 4887,-44 4887,-4 4651,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">
<title>

File diff suppressed because it is too large Load Diff

View File

@@ -193,3 +193,4 @@ V192__add_last_poc_verification_date.sql
V193__password_reset_request.sql
V194__password_reset_request_registrar.sql
V195__registrar_poc_id.sql
V196__tld_expiry_access_period_enabled.sql

View File

@@ -0,0 +1,16 @@
-- Copyright 2025 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 "Tld"
ADD COLUMN IF NOT EXISTS expiry_access_period_enabled boolean DEFAULT false NOT NULL;

View File

@@ -1349,7 +1349,8 @@ CREATE TABLE public."Tld" (
idn_tables text[],
breakglass_mode boolean DEFAULT false NOT NULL,
bsa_enroll_start_time timestamp with time zone,
create_billing_cost_transitions public.hstore NOT NULL
create_billing_cost_transitions public.hstore NOT NULL,
expiry_access_period_enabled boolean DEFAULT false NOT NULL
);