diff --git a/DataLayerTests/MockDB.mdf b/DataLayerTests/MockDB.mdf index f9ee884..1eb9862 100644 Binary files a/DataLayerTests/MockDB.mdf and b/DataLayerTests/MockDB.mdf differ diff --git a/Library/DataLayer/Database/Database.mdf b/Library/DataLayer/Database/Database.mdf index 9f1782d..a1e3b75 100644 Binary files a/Library/DataLayer/Database/Database.mdf and b/Library/DataLayer/Database/Database.mdf differ diff --git a/Library/DataLayer/Database/Migrations/dbo.States.sql b/Library/DataLayer/Database/Migrations/dbo.States.sql index 98062ca..d21b887 100644 --- a/Library/DataLayer/Database/Migrations/dbo.States.sql +++ b/Library/DataLayer/Database/Migrations/dbo.States.sql @@ -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]) )