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 667a66a76..5d6b33ed4 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 - 2024-03-14 23:12:37.761866826 + 2024-03-28 21:10:10.784013213 last flyway file - V165__add_domain_repo_id_indexes_to_more_tables.sql + V166__drop_should_publish_column.sql @@ -280,7 +280,7 @@ td.section { generated by SchemaCrawler 16.10.1 generated on - 2024-03-14 23:12:37.761866826 + 2024-03-28 21:10:10.784013213 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 1a4f057fa..d50eb827e 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">2024-03-14 23:12:35.464952842</td> + <td class="property_value">2024-03-28 21:10:08.34519385</td> </tr> <tr> <td class="property_name">last flyway file</td> - <td id="lastFlywayFile" class="property_value">V165__add_domain_repo_id_indexes_to_more_tables.sql</td> + <td id="lastFlywayFile" class="property_value">V166__drop_should_publish_column.sql</td> </tr> </tbody> </table> @@ -277,11 +277,11 @@ td.section { SchemaCrawler_Diagram - generated by - SchemaCrawler 16.10.1 - generated on - 2024-03-14 23:12:35.464952842 - + generated by + SchemaCrawler 16.10.1 + generated on + 2024-03-28 21:10:08.34519385 + allocationtoken_a08ccbef @@ -3882,10 +3882,7 @@ td.section { <text text-anchor="start" x="3684.5" y="-8699.3" font-family="Helvetica,sans-Serif" font-size="14.00">name</text> <text text-anchor="start" x="3808.5" y="-8699.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text> <text text-anchor="start" x="3817.5" y="-8699.3" font-family="Helvetica,sans-Serif" font-size="14.00">text not null</text> - <text text-anchor="start" x="3684.5" y="-8680.3" font-family="Helvetica,sans-Serif" font-size="14.00">should_publish</text> - <text text-anchor="start" x="3808.5" y="-8680.3" font-family="Helvetica,sans-Serif" font-size="14.00"> </text> - <text text-anchor="start" x="3817.5" y="-8680.3" font-family="Helvetica,sans-Serif" font-size="14.00">bool</text> - <polygon fill="none" stroke="#888888" points="3681,-8673.5 3681,-8789.5 3942,-8789.5 3942,-8673.5 3681,-8673.5" /> + <polygon fill="none" stroke="#888888" points="3681,-8693 3681,-8790 3942,-8790 3942,-8693 3681,-8693" /> </g> <!-- reservedentry_1a7b8520->reservedlist_b97c3f1c --> <g id="edge81" class="edge"> <title> @@ -12234,11 +12231,6 @@ td.section { <td class="minwidth">name</td> <td class="minwidth">text not null</td> </tr> - <tr> - <td class="spacer"></td> - <td class="minwidth">should_publish</td> - <td class="minwidth">bool</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 0006aa626..632ec0e9d 100644 --- a/db/src/main/resources/sql/flyway.txt +++ b/db/src/main/resources/sql/flyway.txt @@ -163,3 +163,4 @@ V162__rename_console_poc_history_time.sql V163__rename_console_registrar_history_time.sql V164__rename_console_user_history_time.sql V165__add_domain_repo_id_indexes_to_more_tables.sql +V166__drop_should_publish_column.sql diff --git a/db/src/main/resources/sql/flyway/V166__drop_should_publish_column.sql b/db/src/main/resources/sql/flyway/V166__drop_should_publish_column.sql new file mode 100644 index 000000000..f6ecd6c63 --- /dev/null +++ b/db/src/main/resources/sql/flyway/V166__drop_should_publish_column.sql @@ -0,0 +1,15 @@ +-- 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. + +alter table "ReservedList" drop column should_publish; diff --git a/db/src/main/resources/sql/schema/nomulus.golden.sql b/db/src/main/resources/sql/schema/nomulus.golden.sql index cc0362386..3968d47c6 100644 --- a/db/src/main/resources/sql/schema/nomulus.golden.sql +++ b/db/src/main/resources/sql/schema/nomulus.golden.sql @@ -1129,8 +1129,7 @@ CREATE TABLE public."ReservedEntry" ( CREATE TABLE public."ReservedList" ( revision_id bigint NOT NULL, creation_timestamp timestamp with time zone NOT NULL, - name text NOT NULL, - should_publish boolean + name text NOT NULL );