Skip to content

Commit

Permalink
Fixed SQL
Browse files Browse the repository at this point in the history
  • Loading branch information
TwentyFourMinutes committed Feb 3, 2021
1 parent 9448809 commit 31bf9d3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Venflow/Venflow.Benchmarks/BenchmarkHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,16 @@ CACHE 1
);
ALTER TABLE ONLY public.""EmailContents""
ADD CONSTRAINT ""FK_Emails_EmailContents"" FOREIGN KEY(""EmailId"") REFERENCES public.""Emails""(""Id"") ON DELETE CASCADE NOT VALID;
ADD CONSTRAINT ""EmailContents_pkey"" PRIMARY KEY(""Id"");
ALTER TABLE ONLY public.""Emails""
ADD CONSTRAINT ""Emails_pkey"" PRIMARY KEY(""Id"");
ALTER TABLE ONLY public.""People""
ADD CONSTRAINT ""People_pkey"" PRIMARY KEY(""Id"");
ALTER TABLE ONLY public.""EmailContents""
ADD CONSTRAINT ""FK_Emails_EmailContents"" FOREIGN KEY(""EmailId"") REFERENCES public.""Emails""(""Id"") ON DELETE CASCADE NOT VALID;
ALTER TABLE ONLY public.""Emails""
ADD CONSTRAINT emails_people_id_fk FOREIGN KEY(""PersonId"") REFERENCES public.""People""(""Id"") ON DELETE CASCADE;";
Expand Down

0 comments on commit 31bf9d3

Please sign in to comment.