Drop DatabaseMigrationStateSchedule table (#2002)

This commit is contained in:
Lai Jiang 2023-05-18 13:44:24 -04:00 committed by GitHub
parent ebcc39a0b2
commit 811fcf9f43
5 changed files with 1298 additions and 1450 deletions

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -141,3 +141,4 @@ V140__rename_process_time_column_in_dns_refresh_request_table.sql
V141__add_ttl_columns_to_tld.sql
V142__drop_request_log_id.sql
V143__idn_per_tld.sql
V144__drop_database_migration_state_schedule_table.sql

View file

@ -0,0 +1,15 @@
-- Copyright 2023 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.
DROP TABLE "DatabaseMigrationStateSchedule";

View file

@ -318,16 +318,6 @@ CREATE TABLE public."Cursor" (
);
--
-- Name: DatabaseMigrationStateSchedule; Type: TABLE; Schema: public; Owner: -
--
CREATE TABLE public."DatabaseMigrationStateSchedule" (
id bigint NOT NULL,
migration_transitions public.hstore
);
--
-- Name: DelegationSignerData; Type: TABLE; Schema: public; Owner: -
--
@ -1301,14 +1291,6 @@ ALTER TABLE ONLY public."Cursor"
ADD CONSTRAINT "Cursor_pkey" PRIMARY KEY (scope, type);
--
-- Name: DatabaseMigrationStateSchedule DatabaseMigrationStateSchedule_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
ALTER TABLE ONLY public."DatabaseMigrationStateSchedule"
ADD CONSTRAINT "DatabaseMigrationStateSchedule_pkey" PRIMARY KEY (id);
--
-- Name: DelegationSignerData DelegationSignerData_pkey; Type: CONSTRAINT; Schema: public; Owner: -
--
@ -1572,13 +1554,6 @@ ALTER TABLE ONLY public."User"
CREATE INDEX allocation_token_domain_name_idx ON public."AllocationToken" USING btree (domain_name);
--
-- Name: database_migration_state_schedule_singleton; Type: INDEX; Schema: public; Owner: -
--
CREATE UNIQUE INDEX database_migration_state_schedule_singleton ON public."DatabaseMigrationStateSchedule" USING btree ((true));
--
-- Name: domain_history_to_ds_data_history_idx; Type: INDEX; Schema: public; Owner: -
--