mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 12:07:51 +02: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:
parent
3a9b0ca599
commit
4a6fd65b0c
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
|
@ -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
|
||||
|
|
|
@ -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;
|
|
@ -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
|
||||
);
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue