Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

Commit

Permalink
change table name
Browse files Browse the repository at this point in the history
Adjust link table name to match earlier updated naming
  • Loading branch information
DJensen94 committed Nov 8, 2021
1 parent 985a0fc commit 5cf633e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pe_reports/data/data_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ CREATE TABLE IF NOT EXISTS public.sub_domains
PRIMARY KEY (sub_domain_uid)
);

-- Organization's Sub Domains IPs Link Table
CREATE TABLE IF NOT EXISTS Sub_domains_Ips
-- Organization's Sub Domains web_assets Link Table
CREATE TABLE IF NOT EXISTS Sub_domains_Web_assets
(
sub_domain_uid uuid NOT NULL,
asset_uid uuid NOT NULL,
Expand Down Expand Up @@ -316,7 +316,7 @@ ALTER TABLE public.sub_domains
NOT VALID;

-- many to many relation between sub domains and IPs
ALTER TABLE public.Sub_domains_Ips
ALTER TABLE public.Sub_domains_Web_assets
ADD FOREIGN KEY (sub_domain_uid)
REFERENCES public.sub_domains (sub_domain_uid)
NOT VALID,
Expand Down

0 comments on commit 5cf633e

Please sign in to comment.