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

Commit

Permalink
Merge branch 'develop' into CD-working-dbschema
Browse files Browse the repository at this point in the history
Get all new changes from develop repo..
  • Loading branch information
cduhn17 committed Sep 14, 2021
2 parents 74dbbf1 + 67f54d8 commit 7cab7e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pe_reports/data/data_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ CREATE TABLE IF NOT EXISTS public.hibp_exposed_credentials
(
credential_id uuid default uuid_generate_v1() NOT NULL,
email text NOT NULL,
organization text,
root_domain text,
sub_domain text,
breach_name text,
Expand Down Expand Up @@ -220,7 +221,7 @@ ALTER TABLE public.organizations
-- HIBP complete breach view
Create View vw_breach_complete
AS
SELECT creds.credential_id,creds.email, creds.breach_name, creds.root_domain, creds.sub_domain,
SELECT creds.credential_id,creds.email, creds.breach_name, creds.organization, creds.root_domain, creds.sub_domain,
b.description, b.breach_date, b.added_date, b.modified_date, b.data_classes,
b.password_included, b.is_verified, b.is_fabricated, b.is_sensitive, b.is_retired, b.is_spam_list

Expand Down

0 comments on commit 7cab7e1

Please sign in to comment.