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

Commit

Permalink
Merge pull request #427 from cisagov/CD-pe-reports-add-WAS-schema
Browse files Browse the repository at this point in the history
Add WAS table schema
  • Loading branch information
cduhn17 committed Mar 3, 2023
2 parents e2ed547 + 617ae5a commit f9351d9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/pe_reports/data/data_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,33 @@ CREATE TABLE public.unique_software (
software_name text NOT NULL
);

--
-- Name: was_tracker_customerdata; Type: TABLE; Schema: public; Owner: pe
--

CREATE TABLE was_tracker_customerdata(
customer_id uuid DEFAULT uuid_generate_v1() NOT NULL
constraint was_tracker_customerdata_pk primary key,
tag text NOT NULL,
customer_name text NOT NULL,
testing_sector text NOT NULL,
ci_type text NOT NULL,
ticket text NOT NULL,
next_scheduled text NOT NULL,
last_scanned text NOT NULL,
frequency text NOT NULL,
comments_notes text NOT NULL,
was_report_poc text NOT NULL,
was_report_email text NOT NULL,
onboarding_date date NOT NULL,
no_of_web_apps integer NOT NULL,
no_web_apps_last_updated date,
elections text
);

ALTER TABLE was_tracker_customerdata
OWNER TO pe;

--
-- Name: web_assets; Type: TABLE; Schema: public; Owner: pe
--
Expand Down

0 comments on commit f9351d9

Please sign in to comment.