mirror of
https://github.com/google/nomulus
synced 2026-04-21 16:50:44 +00:00
Add DB column for separate rlock email address (#2413)
We cannot rely on the user checking their login email, so we'll want to send the emails to the other address if configured. This is already the case in RegistrarPoc.
This commit is contained in:
@@ -261,11 +261,11 @@ td.section {
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">generated on</td>
|
||||
<td class="property_value">2024-04-17 19:49:33.30624492</td>
|
||||
<td class="property_value">2024-04-24 21:30:39.425345476</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">last flyway file</td>
|
||||
<td id="lastFlywayFile" class="property_value">V167__creat_billing_cost_transitions_not_null.sql</td>
|
||||
<td id="lastFlywayFile" class="property_value">V168__registry_lock_email.sql</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -277,11 +277,11 @@ td.section {
|
||||
SchemaCrawler_Diagram
|
||||
</title>
|
||||
<polygon fill="white" stroke="transparent" points="-4,4 -4,-3493.5 4025,-3493.5 4025,4 -4,4" />
|
||||
<text text-anchor="start" x="3737" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text>
|
||||
<text text-anchor="start" x="3820" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.10.1</text>
|
||||
<text text-anchor="start" x="3736" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text>
|
||||
<text text-anchor="start" x="3820" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-04-17 19:49:33.30624492</text>
|
||||
<polygon fill="none" stroke="#888888" points="3733,-4 3733,-44 4013,-44 4013,-4 3733,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<text text-anchor="start" x="3730.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text>
|
||||
<text text-anchor="start" x="3813.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.10.1</text>
|
||||
<text text-anchor="start" x="3729.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text>
|
||||
<text text-anchor="start" x="3813.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-04-24 21:30:39.425345476</text>
|
||||
<polygon fill="none" stroke="#888888" points="3726,-4 3726,-44 4013,-44 4013,-4 3726,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<g id="node1" class="node">
|
||||
<title>
|
||||
allocationtoken_a08ccbef
|
||||
|
||||
@@ -261,11 +261,11 @@ td.section {
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">generated on</td>
|
||||
<td class="property_value">2024-04-17 19:49:29.701469664</td>
|
||||
<td class="property_value">2024-04-24 21:30:36.545885131</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_name">last flyway file</td>
|
||||
<td id="lastFlywayFile" class="property_value">V167__creat_billing_cost_transitions_not_null.sql</td>
|
||||
<td id="lastFlywayFile" class="property_value">V168__registry_lock_email.sql</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@@ -280,7 +280,7 @@ td.section {
|
||||
<text text-anchor="start" x="4443.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text>
|
||||
<text text-anchor="start" x="4526.5" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.10.1</text>
|
||||
<text text-anchor="start" x="4442.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text>
|
||||
<text text-anchor="start" x="4526.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-04-17 19:49:29.701469664</text>
|
||||
<text text-anchor="start" x="4526.5" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2024-04-24 21:30:36.545885131</text>
|
||||
<polygon fill="none" stroke="#888888" points="4439,-4 4439,-44 4726,-44 4726,-4 4439,-4" /> <!-- allocationtoken_a08ccbef -->
|
||||
<g id="node1" class="node">
|
||||
<title>
|
||||
@@ -2097,7 +2097,10 @@ td.section {
|
||||
<text text-anchor="start" x="713" y="-314.3" font-family="Helvetica,sans-Serif" font-size="14.00">update_timestamp</text>
|
||||
<text text-anchor="start" x="895" y="-314.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
|
||||
<text text-anchor="start" x="903" y="-314.3" font-family="Helvetica,sans-Serif" font-size="14.00">timestamptz</text>
|
||||
<polygon fill="none" stroke="#888888" points="710,-307.5 710,-499.5 1012,-499.5 1012,-307.5 710,-307.5" />
|
||||
<text text-anchor="start" x="713" y="-295.3" font-family="Helvetica,sans-Serif" font-size="14.00">registry_lock_email_address</text>
|
||||
<text text-anchor="start" x="895" y="-295.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text>
|
||||
<text text-anchor="start" x="903" y="-295.3" font-family="Helvetica,sans-Serif" font-size="14.00">text</text>
|
||||
<polygon fill="none" stroke="#888888" points="710,-289 710,-500 1012,-500 1012,-289 710,-289" />
|
||||
</g> <!-- consoleeppactionhistory_bcc2a2c6->user_f2216f01 -->
|
||||
<g id="edge85" class="edge">
|
||||
<title>
|
||||
@@ -13056,6 +13059,11 @@ td.section {
|
||||
<td class="minwidth">update_timestamp</td>
|
||||
<td class="minwidth">timestamptz</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="spacer"></td>
|
||||
<td class="minwidth">registry_lock_email_address</td>
|
||||
<td class="minwidth">text</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="3"></td>
|
||||
</tr>
|
||||
|
||||
@@ -165,3 +165,4 @@ V164__rename_console_user_history_time.sql
|
||||
V165__add_domain_repo_id_indexes_to_more_tables.sql
|
||||
V166__drop_should_publish_column.sql
|
||||
V167__creat_billing_cost_transitions_not_null.sql
|
||||
V168__registry_lock_email.sql
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
-- Copyright 2024 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.
|
||||
|
||||
-- Note: we drop the not-null constraints from the history tables but we keep them in the
|
||||
-- EPP resource tables since nothing inserted there should be null
|
||||
|
||||
ALTER TABLE "User" ADD COLUMN registry_lock_email_address text;
|
||||
@@ -1314,7 +1314,8 @@ CREATE TABLE public."User" (
|
||||
global_role text NOT NULL,
|
||||
is_admin boolean NOT NULL,
|
||||
registrar_roles public.hstore NOT NULL,
|
||||
update_timestamp timestamp with time zone
|
||||
update_timestamp timestamp with time zone,
|
||||
registry_lock_email_address text
|
||||
);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user