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

Commit

Permalink
fix FK on Statues
Browse files Browse the repository at this point in the history
  • Loading branch information
Oskarowski committed May 27, 2024
1 parent cb99d6a commit d7765a9
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified DataLayerTests/MockDB.mdf
Binary file not shown.
Binary file modified Library/DataLayer/Database/Database.mdf
Binary file not shown.
2 changes: 1 addition & 1 deletion Library/DataLayer/Database/Migrations/dbo.States.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
[productGuid] VARCHAR(36) NOT NULL,
[quantity] INT NOT NULL,
[LastUpdatedDate] DATE NOT NULL,
CONSTRAINT [FK_States_ToProductTable] FOREIGN KEY ([guid]) REFERENCES [Books]([guid])
CONSTRAINT [FK_States_ToProductTable] FOREIGN KEY (productGuid) REFERENCES [Books]([guid])
)

0 comments on commit d7765a9

Please sign in to comment.