Add breakglass_mode to Tld table (#2046)

* Add breakglass_mode to Tld table

* Add a default value
This commit is contained in:
sarahcaseybot 2023-06-06 16:13:08 -04:00 committed by GitHub
parent 53afe1ae59
commit 12fc80eedd
5 changed files with 3207 additions and 3097 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -142,3 +142,4 @@ V141__add_ttl_columns_to_tld.sql
V142__drop_request_log_id.sql
V143__idn_per_tld.sql
V144__drop_database_migration_state_schedule_table.sql
V145__add_breakglass_mode_to_tld_table.sql

View file

@ -0,0 +1,15 @@
-- 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 breakglass_mode boolean NOT NULL DEFAULT false;

View file

@ -1085,7 +1085,8 @@ CREATE TABLE public."Tld" (
dns_a_plus_aaaa_ttl interval,
dns_ds_ttl interval,
dns_ns_ttl interval,
idn_tables text[]
idn_tables text[],
breakglass_mode boolean DEFAULT false NOT NULL
);