mirror of
https://github.com/google/nomulus
synced 2026-09-20 06:54:43 +00:00
Remove registry-lock-related fields from RegistrarPoc (#2818)
We've moved these over to the User class, so we should remove these for clarity. In addition, we should make it clear (in Java at least) that the field in the RegistryLock object refers to the email address used for the lock in question.
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -194,3 +194,4 @@ V193__password_reset_request.sql
|
||||
V194__password_reset_request_registrar.sql
|
||||
V195__registrar_poc_id.sql
|
||||
V196__tld_expiry_access_period_enabled.sql
|
||||
V197__poc_rlock_drop_not_null.sql
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
-- Copyright 2025 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.
|
||||
|
||||
-- In order to remove the field from the Java class it needs to be nullable
|
||||
ALTER table "RegistrarPoc" ALTER column allowed_to_set_registry_lock_password DROP NOT NULL;
|
||||
@@ -688,9 +688,6 @@
|
||||
id bigint,
|
||||
name text,
|
||||
phone_number text,
|
||||
registry_lock_email_address text,
|
||||
registry_lock_password_hash text,
|
||||
registry_lock_password_salt text,
|
||||
types text[],
|
||||
visible_in_domain_whois_as_abuse boolean not null,
|
||||
visible_in_whois_as_admin boolean not null,
|
||||
|
||||
@@ -1009,7 +1009,7 @@ CREATE TABLE public."Registrar" (
|
||||
|
||||
CREATE TABLE public."RegistrarPoc" (
|
||||
email_address text NOT NULL,
|
||||
allowed_to_set_registry_lock_password boolean NOT NULL,
|
||||
allowed_to_set_registry_lock_password boolean,
|
||||
fax_number text,
|
||||
name text,
|
||||
phone_number text,
|
||||
|
||||
Reference in New Issue
Block a user