mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
Add a field to save the login email of a RegistrarPoc (#1849)
This will replace the gaeUserId field. For now the field is not used and only added to alter the schema.
This commit is contained in:
parent
4add693d01
commit
ff6599a95b
5 changed files with 4080 additions and 4016 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -127,3 +127,4 @@ V126__drop_autorenew_poll_message_history_id_column_in_domain_table.sql
|
||||||
V127__fix_user.sql
|
V127__fix_user.sql
|
||||||
V128__fix_package_promotion_id.sql
|
V128__fix_package_promotion_id.sql
|
||||||
V129__create_allocateId_sequence_alternative.sql
|
V129__create_allocateId_sequence_alternative.sql
|
||||||
|
V130__add_login_email_column_to_registrarpoc.sql
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
-- Copyright 2022 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 "RegistrarPoc" add column login_email_address text;
|
||||||
|
create index registrarpoc_login_email_idx on "RegistrarPoc" (login_email_address);
|
||||||
|
|
|
@ -843,7 +843,8 @@ CREATE TABLE public."RegistrarPoc" (
|
||||||
visible_in_whois_as_admin boolean NOT NULL,
|
visible_in_whois_as_admin boolean NOT NULL,
|
||||||
visible_in_whois_as_tech boolean NOT NULL,
|
visible_in_whois_as_tech boolean NOT NULL,
|
||||||
registry_lock_email_address text,
|
registry_lock_email_address text,
|
||||||
registrar_id text NOT NULL
|
registrar_id text NOT NULL,
|
||||||
|
login_email_address text
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
@ -2051,6 +2052,13 @@ CREATE INDEX registrar_name_idx ON public."Registrar" USING btree (registrar_nam
|
||||||
CREATE INDEX registrarpoc_gae_user_id_idx ON public."RegistrarPoc" USING btree (gae_user_id);
|
CREATE INDEX registrarpoc_gae_user_id_idx ON public."RegistrarPoc" USING btree (gae_user_id);
|
||||||
|
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Name: registrarpoc_login_email_idx; Type: INDEX; Schema: public; Owner: -
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE INDEX registrarpoc_login_email_idx ON public."RegistrarPoc" USING btree (login_email_address);
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: reservedlist_name_idx; Type: INDEX; Schema: public; Owner: -
|
-- Name: reservedlist_name_idx; Type: INDEX; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
|
Loading…
Add table
Reference in a new issue