Remove spec11 domain foreign key (#757)

We'll want this eventually but until the Domain SQL table is populated,
we can't rely on domains' existence.
This commit is contained in:
gbrodman
2020-08-10 14:55:40 -04:00
committed by GitHub
parent 26dfdd5b71
commit 44d7ad61c0
3 changed files with 18 additions and 8 deletions
@@ -0,0 +1,16 @@
-- Copyright 2020 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.
-- We want this in general, but not until we've migrated
ALTER TABLE IF EXISTS "Spec11ThreatMatch" DROP CONSTRAINT "fk_safebrowsing_threat_domain_repo_id";