Add TTL columns to the Tld table (#1964)

* Add TTL columns to Tld table

* Change A and AAAA records column name
This commit is contained in:
sarahcaseybot 2023-03-17 11:54:14 -04:00 committed by GitHub
parent 0c7dbe8a34
commit d124a34649
5 changed files with 2677 additions and 2616 deletions

View file

@ -261,11 +261,11 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2023-03-14 17:02:14.207181</td>
<td class="property_value">2023-03-16 20:10:49.374346</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
<td id="lastFlywayFile" class="property_value">V140__rename_process_time_column_in_dns_refresh_request_table.sql</td>
<td id="lastFlywayFile" class="property_value">V141__add_ttl_columns_to_tld.sql</td>
</tr>
</tbody>
</table>
@ -284,7 +284,7 @@ td.section {
generated on
</text>
<text text-anchor="start" x="3835.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">
2023-03-14 17:02:14.207181
2023-03-16 20:10:49.374346
</text>
<polygon fill="none" stroke="#888888" points="3748,-4 3748,-44 4013,-44 4013,-4 3748,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">

File diff suppressed because it is too large Load diff

View file

@ -138,3 +138,4 @@ V137__add_process_time_column.sql
V138__drop_dns_refresh_request_time_column.sql
V139__add_allowed_epp_actions_column.sql
V140__rename_process_time_column_in_dns_refresh_request_table.sql
V141__add_ttl_columns_to_tld.sql

View file

@ -0,0 +1,18 @@
-- Copyright 2023 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 dns_a_plus_aaaa_ttl interval,
ADD COLUMN dns_ds_ttl interval,
ADD COLUMN dns_ns_ttl interval;

View file

@ -1092,7 +1092,10 @@ CREATE TABLE public."Tld" (
tld_type text NOT NULL,
tld_unicode text NOT NULL,
transfer_grace_period_length interval NOT NULL,
default_promo_tokens text[]
default_promo_tokens text[],
dns_a_plus_aaaa_ttl interval,
dns_ds_ttl interval,
dns_ns_ttl interval
);