From d7765a905d77daac1453b6c55b3c1a811f5ff47c Mon Sep 17 00:00:00 2001 From: Oskarowski Date: Mon, 27 May 2024 20:38:43 +0200 Subject: [PATCH] fix FK on Statues --- DataLayerTests/MockDB.mdf | Bin 8388608 -> 8388608 bytes Library/DataLayer/Database/Database.mdf | Bin 8388608 -> 8388608 bytes .../Database/Migrations/dbo.States.sql | 2 +- 3 files changed, 1 insertion(+), 1 deletion(-) diff --git a/DataLayerTests/MockDB.mdf b/DataLayerTests/MockDB.mdf index f9ee88424921678d0525291b8a2e7c68cdea3858..1eb9862ce386a7f38422e218267e68ecef516020 100644 GIT binary patch delta 2144 zcmY*ZYitx%6yBN6PVa8F`(WCgWxFlgrO>BX9^F!@^g&x5m4~zi#0t|Ed6h@yO@Xp8 zM;8Lr76X?U6JE*>R05(-tRiCku_Rys3nGZD2@fF>DMX?K!EH}`(6D=K0e$Mw>HTwNk(M@#1P%LJ#C+P; zEZT9Lxq_Fe|Dhz%P_Nmk(~jyi*J+YQr>)_2t3|}67|`c}xg=cBBB})~iBH~-$5Pub zmfDpQpR!nXDdY)1ji=|P6EB^zSaj~%M?|%gBkyIz{YLfkyA?^h6{`w~BvShoa{-NJ z6Oj&R6-Q|!iy7$*5tyhIDvqTChT@DFo#(e7d*(@A+GV2pu{2hd{$ zXjh_10$nv9%cTW;Igi{oXwiJq7#pkg1*BJs=U$1i8SS30Qq*%VCxXs&@yts*7-5Y5+1XZ$NUsk4TN;hrjj zupq2zPgT;qs{x;<3ANa5U^j!^DhuLf0=}?)%BAJRcGxz}&H3oDpe+r%vwC+YXuD3k zifzJ+Y3F~AXh(yr*qO!DSi^*zrhz6On`5^2p7x=FhgeyFX^i{_-@;NhSy@;udquN_NGPo_HD z>hg>Bx2(K3HT>whU43-jF~aXLl(SITXb*#v+1 zjLnH~AqJ>tY*M47X+$tOR))Q?b0RM*O^{xvA4hTQRl#MHs)K7WNlN#-3swz>hC~#J~;D&d&RXaHx+ai^V zBv;Gqh?FHb+=5%M3B1r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5Z$5i@q+V#MtkMeFMWl!@k zIBxe?&thD7TPKIT4~pM+c?@c)25?cC#3O8f2HjRVgHO% zIu_bCcf(*6bf;y;&MX(r_!1J&amcepZ k0V`n@tOhr{0Bc|^G{B3n4%Wj4*a(fV37TLtG{csE0c9IG)c^nh diff --git a/Library/DataLayer/Database/Database.mdf b/Library/DataLayer/Database/Database.mdf index 9f1782d892ddef24d8c2e0958c68025374ea5be7..a1e3b754bb6abcddc2fccfb17b56f60697424d2c 100644 GIT binary patch delta 590 zcmYkxNjH@N00!Xi<4Q`U&_HzWmE2Iulq8LYqB2wz$&?~9sWiAdYo~?3VbM9(jvvsr zjYYq}rhPq5o8EJt#rwX=WHOT6^F3^cMh1WH?0(zYj&BY}!+|iiks1VHkP`f#V&&f+ z1V7e)#ln)vA6ehXNXuF4*uR>Hhoq27gf#Y%&fcHF0S=PMAr5ndERJ%FY;wruI43yC zDe}nYGzAoLhA1)O6mgbf&QU^w^ORCXITyG{1(&!?B~?^YLoHXR<0|!Bqk-!*a)X=P z;x>11rY#l14fa4v;}6S!9#LK@O2i9{C*R2n8JF7{@8(1Scut6vdRV z`?HMGM2QjS3}-2)f=UupagJ)vQ$sBmxX2|gQ%5~lXy7W1T%(EWG;@O%ZgPuOZqvpc z+PO;y_qfjkI_csekLad{ULNy=r}XiR=k)V}mkcn-5W|e{iq|B0!&~0*o)3&N#yAs9 i@{uW~nc)+&%rVabi+tt_OMK-U-&tm5GZFu>_3uCC@0hRv 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]) )