1
0
mirror of https://github.com/google/nomulus synced 2026-03-27 21:05:32 +00:00

Add RegistrarPoc id column (#2761)

This commit is contained in:
Pavlo Tkach
2025-06-02 11:43:03 -04:00
committed by GitHub
parent 5fb95f38ed
commit 70291af9ad
5 changed files with 2166 additions and 2103 deletions

View File

@@ -261,11 +261,11 @@ td.section {
</tr>
<tr>
<td class="property_name">generated on</td>
<td class="property_value">2025-05-15 19:22:21</td>
<td class="property_value">2025-06-02 14:41:34</td>
</tr>
<tr>
<td class="property_name">last flyway file</td>
<td id="lastFlywayFile" class="property_value">V194__password_reset_request_registrar.sql</td>
<td id="lastFlywayFile" class="property_value">V195__registrar_poc_id.sql</td>
</tr>
</tbody>
</table>
@@ -280,7 +280,7 @@ td.section {
<text text-anchor="start" x="4655" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text>
<text text-anchor="start" x="4738" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.25.2</text>
<text text-anchor="start" x="4654" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text>
<text text-anchor="start" x="4738" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2025-05-15 19:22:21</text>
<text text-anchor="start" x="4738" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2025-06-02 14:41:34</text>
<polygon fill="none" stroke="#888888" points="4651,-4 4651,-44 4887,-44 4887,-4 4651,-4" /> <!-- allocationtoken_a08ccbef -->
<g id="node1" class="node">
<title>
@@ -2702,7 +2702,7 @@ td.section {
<tr>
<td class="spacer"></td>
<td class="minwidth"></td>
<td class="minwidth">default '2021-05-31 20:00:00-04'::timestamp with time zone</td>
<td class="minwidth">default '2021-06-01 00:00:00+00'::timestamp with time zone</td>
</tr>
<tr>
<td colspan="3"></td>

File diff suppressed because it is too large Load Diff

View File

@@ -192,3 +192,4 @@ V191__remove_fk_registrarpocupdatehistory.sql
V192__add_last_poc_verification_date.sql
V193__password_reset_request.sql
V194__password_reset_request_registrar.sql
V195__registrar_poc_id.sql

View File

@@ -0,0 +1,15 @@
-- 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.
ALTER TABLE "RegistrarPoc" ADD COLUMN IF NOT EXISTS id BIGSERIAL;

View File

@@ -1020,7 +1020,8 @@ CREATE TABLE public."RegistrarPoc" (
visible_in_whois_as_admin boolean NOT NULL,
visible_in_whois_as_tech boolean NOT NULL,
registry_lock_email_address text,
registrar_id text NOT NULL
registrar_id text NOT NULL,
id bigint NOT NULL
);
@@ -1053,6 +1054,25 @@ CREATE TABLE public."RegistrarPocUpdateHistory" (
);
--
-- Name: RegistrarPoc_id_seq; Type: SEQUENCE; Schema: public; Owner: -
--
CREATE SEQUENCE public."RegistrarPoc_id_seq"
START WITH 1
INCREMENT BY 1
NO MINVALUE
NO MAXVALUE
CACHE 1;
--
-- Name: RegistrarPoc_id_seq; Type: SEQUENCE OWNED BY; Schema: public; Owner: -
--
ALTER SEQUENCE public."RegistrarPoc_id_seq" OWNED BY public."RegistrarPoc".id;
--
-- Name: RegistrarUpdateHistory; Type: TABLE; Schema: public; Owner: -
--
@@ -1445,6 +1465,13 @@ ALTER TABLE ONLY public."PackagePromotion" ALTER COLUMN package_promotion_id SET
ALTER TABLE ONLY public."PremiumList" ALTER COLUMN revision_id SET DEFAULT nextval('public."PremiumList_revision_id_seq"'::regclass);
--
-- Name: RegistrarPoc id; Type: DEFAULT; Schema: public; Owner: -
--
ALTER TABLE ONLY public."RegistrarPoc" ALTER COLUMN id SET DEFAULT nextval('public."RegistrarPoc_id_seq"'::regclass);
--
-- Name: RegistryLock revision_id; Type: DEFAULT; Schema: public; Owner: -
--