diff --git a/db/src/main/resources/sql/er_diagram/brief_er_diagram.html b/db/src/main/resources/sql/er_diagram/brief_er_diagram.html index b0d1fa5f3..25a05d456 100644 --- a/db/src/main/resources/sql/er_diagram/brief_er_diagram.html +++ b/db/src/main/resources/sql/er_diagram/brief_er_diagram.html @@ -261,11 +261,11 @@ td.section { generated on - 2025-03-25 19:47:40 + 2025-04-17 17:11:45 last flyway file - V191__remove_fk_registrarpocupdatehistory.sql + V192__add_last_poc_verification_date.sql @@ -280,7 +280,7 @@ td.section { generated by SchemaCrawler 16.25.2 generated on - 2025-03-25 19:47:40 + 2025-04-17 17:11:45 @@ -2689,7 +2689,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> diff --git a/db/src/main/resources/sql/er_diagram/full_er_diagram.html b/db/src/main/resources/sql/er_diagram/full_er_diagram.html index 4f3370a42..0456f7c45 100644 --- a/db/src/main/resources/sql/er_diagram/full_er_diagram.html +++ b/db/src/main/resources/sql/er_diagram/full_er_diagram.html @@ -261,11 +261,11 @@ td.section { </tr> <tr> <td class="property_name">generated on</td> - <td class="property_value">2025-03-25 19:47:37</td> + <td class="property_value">2025-04-17 17:11:38</td> </tr> <tr> <td class="property_name">last flyway file</td> - <td id="lastFlywayFile" class="property_value">V191__remove_fk_registrarpocupdatehistory.sql</td> + <td id="lastFlywayFile" class="property_value">V192__add_last_poc_verification_date.sql</td> </tr> </tbody> </table> @@ -280,7 +280,7 @@ td.section { <text text-anchor="start" x="5435" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated by</text> <text text-anchor="start" x="5518" y="-29.8" font-family="Helvetica,sans-Serif" font-size="14.00">SchemaCrawler 16.25.2</text> <text text-anchor="start" x="5434" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">generated on</text> - <text text-anchor="start" x="5518" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2025-03-25 19:47:37</text> + <text text-anchor="start" x="5518" y="-10.8" font-family="Helvetica,sans-Serif" font-size="14.00">2025-04-17 17:11:38</text> <polygon fill="none" stroke="#888888" points="5431,-4 5431,-44 5667,-44 5667,-4 5431,-4" /> <!-- allocationtoken_a08ccbef --> <g id="node1" class="node"> <title> @@ -634,7 +634,10 @@ td.section { <text text-anchor="start" x="11" y="-2197.8" font-family="Helvetica,sans-Serif" font-size="14.00">last_expiring_failover_cert_notification_sent_date</text> <text text-anchor="start" x="311" y="-2197.8" font-family="Helvetica,sans-Serif" font-size="14.00"> </text> <text text-anchor="start" x="319" y="-2197.8" font-family="Helvetica,sans-Serif" font-size="14.00">timestamptz</text> - <polygon fill="none" stroke="#888888" points="8,-2191.5 8,-3086.5 444,-3086.5 444,-2191.5 8,-2191.5" /> + <text text-anchor="start" x="11" y="-2178.8" font-family="Helvetica,sans-Serif" font-size="14.00">last_poc_verification_date</text> + <text text-anchor="start" x="311" y="-2178.8" font-family="Helvetica,sans-Serif" font-size="14.00"> </text> + <text text-anchor="start" x="319" y="-2178.8" font-family="Helvetica,sans-Serif" font-size="14.00">timestamptz</text> + <polygon fill="none" stroke="#888888" points="8,-2172 8,-3086 444,-3086 444,-2172 8,-2172" /> </g> <!-- billingevent_a57d1815->registrar_6e1503e3 --> <g id="edge38" class="edge"> <title> @@ -4767,7 +4770,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> @@ -10731,6 +10734,11 @@ td.section { <td class="minwidth">last_expiring_failover_cert_notification_sent_date</td> <td class="minwidth">timestamptz</td> </tr> + <tr> + <td class="spacer"></td> + <td class="minwidth">last_poc_verification_date</td> + <td class="minwidth">timestamptz</td> + </tr> <tr> <td colspan="3"></td> </tr> diff --git a/db/src/main/resources/sql/flyway.txt b/db/src/main/resources/sql/flyway.txt index 8af144e70..7a24901bb 100644 --- a/db/src/main/resources/sql/flyway.txt +++ b/db/src/main/resources/sql/flyway.txt @@ -189,3 +189,4 @@ V188__remove_fk_userupdatehistory.sql V189__remove_fk_consoleeppactionhistory.sql V190__remove_fk_registrarupdatehistory.sql V191__remove_fk_registrarpocupdatehistory.sql +V192__add_last_poc_verification_date.sql diff --git a/db/src/main/resources/sql/flyway/V192__add_last_poc_verification_date.sql b/db/src/main/resources/sql/flyway/V192__add_last_poc_verification_date.sql new file mode 100644 index 000000000..9bc29e0d8 --- /dev/null +++ b/db/src/main/resources/sql/flyway/V192__add_last_poc_verification_date.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. + +alter table "Registrar" + add column if not exists "last_poc_verification_date" timestamptz; diff --git a/db/src/main/resources/sql/schema/nomulus.golden.sql b/db/src/main/resources/sql/schema/nomulus.golden.sql index c57f3fb75..6dff607ea 100644 --- a/db/src/main/resources/sql/schema/nomulus.golden.sql +++ b/db/src/main/resources/sql/schema/nomulus.golden.sql @@ -983,7 +983,8 @@ CREATE TABLE public."Registrar" ( url 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 + last_expiring_failover_cert_notification_sent_date timestamp with time zone, + last_poc_verification_date timestamp with time zone );