1
0
mirror of https://github.com/google/nomulus synced 2026-02-09 22:40:55 +00:00

Expand registrar schema to support sending expiring certificate notification emails (#1247)

* Expand registrar schema to support sending expiring certificate notification emails

* Remove java change (restrictly schema change only)
This commit is contained in:
Rachel Guan
2021-07-22 17:11:32 -04:00
committed by GitHub
parent 38c8e81690
commit 58e413af89
5 changed files with 3994 additions and 3947 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -95,3 +95,4 @@ V94__rename_lock_scope.sql
V95__add_contacts_indexes_on_domain.sql
V96__rename_sql_checkpoint_fields.sql
V97__add_recurrence_history_id_column_to_onetime.sql
V98__add_last_expiring_cert_notification_sent_date.sql

View File

@@ -0,0 +1,18 @@
-- Copyright 2021 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 "Registrar"
add column if not exists "last_expiring_cert_notification_sent_date" timestamptz;
alter table "Registrar"
add column if not exists "last_expiring_failover_cert_notification_sent_date" timestamptz;

View File

@@ -800,7 +800,9 @@ CREATE TABLE public."Registrar" (
state text,
type text NOT NULL,
url text,
whois_server text
whois_server text,
last_expiring_cert_notification_sent_date timestamp with time zone,
last_expiring_failover_cert_notification_sent_date timestamp with time zone
);