mirror of
https://github.com/google/nomulus.git
synced 2025-04-30 03:57:51 +02:00
Drop the KmsSecret table (#1258)
* Drop the KmsSecret table Code using this table has been removed in PR 1252.
This commit is contained in:
parent
d6808bba71
commit
6670aa04eb
5 changed files with 1348 additions and 1555 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -96,3 +96,4 @@ V95__add_contacts_indexes_on_domain.sql
|
||||||
V96__rename_sql_checkpoint_fields.sql
|
V96__rename_sql_checkpoint_fields.sql
|
||||||
V97__add_recurrence_history_id_column_to_onetime.sql
|
V97__add_recurrence_history_id_column_to_onetime.sql
|
||||||
V98__add_last_expiring_cert_notification_sent_date.sql
|
V98__add_last_expiring_cert_notification_sent_date.sql
|
||||||
|
V99__drop_kms_secret_table.sql
|
||||||
|
|
|
@ -0,0 +1,15 @@
|
||||||
|
-- Copyright 2021 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 IF EXISTS "KmsSecret" CASCADE;
|
|
@ -635,19 +635,6 @@ CREATE TABLE public."HostHistory" (
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: KmsSecret; Type: TABLE; Schema: public; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE TABLE public."KmsSecret" (
|
|
||||||
revision_id bigint NOT NULL,
|
|
||||||
creation_time timestamp with time zone NOT NULL,
|
|
||||||
encrypted_value text NOT NULL,
|
|
||||||
crypto_key_version_name text NOT NULL,
|
|
||||||
secret_name text NOT NULL
|
|
||||||
);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: Lock; Type: TABLE; Schema: public; Owner: -
|
-- Name: Lock; Type: TABLE; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
@ -1293,14 +1280,6 @@ ALTER TABLE ONLY public."Host"
|
||||||
ADD CONSTRAINT "Host_pkey" PRIMARY KEY (repo_id);
|
ADD CONSTRAINT "Host_pkey" PRIMARY KEY (repo_id);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: KmsSecret KmsSecret_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
ALTER TABLE ONLY public."KmsSecret"
|
|
||||||
ADD CONSTRAINT "KmsSecret_pkey" PRIMARY KEY (revision_id);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: Lock Lock_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
-- Name: Lock Lock_pkey; Type: CONSTRAINT; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
@ -1700,13 +1679,6 @@ CREATE INDEX idxkjt9yaq92876dstimd93hwckh ON public."Domain" USING btree (curren
|
||||||
CREATE INDEX idxknk8gmj7s47q56cwpa6rmpt5l ON public."HostHistory" USING btree (history_type);
|
CREATE INDEX idxknk8gmj7s47q56cwpa6rmpt5l ON public."HostHistory" USING btree (history_type);
|
||||||
|
|
||||||
|
|
||||||
--
|
|
||||||
-- Name: idxli9nil3s4t4p21i3xluvvilb7; Type: INDEX; Schema: public; Owner: -
|
|
||||||
--
|
|
||||||
|
|
||||||
CREATE INDEX idxli9nil3s4t4p21i3xluvvilb7 ON public."KmsSecret" USING btree (secret_name);
|
|
||||||
|
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Name: idxlrq7v63pc21uoh3auq6eybyhl; Type: INDEX; Schema: public; Owner: -
|
-- Name: idxlrq7v63pc21uoh3auq6eybyhl; Type: INDEX; Schema: public; Owner: -
|
||||||
--
|
--
|
||||||
|
|
Loading…
Add table
Reference in a new issue