summaryrefslogtreecommitdiffstats
path: root/projecttemplates/RelyingPartyLogic/CreateDatabase.sql
diff options
context:
space:
mode:
authorAndrew Arnott <andrewarnott@gmail.com>2010-02-20 13:55:13 -0800
committerAndrew Arnott <andrewarnott@gmail.com>2010-02-20 13:55:13 -0800
commit5e219c5f01391d2d47b108d68c945fa9dcf7d9bc (patch)
tree3a2b38566e42ad77f720f41e773fdee64c04c109 /projecttemplates/RelyingPartyLogic/CreateDatabase.sql
parent5e1a57ba973e31fa11875fc07fb317b5e2c582b7 (diff)
parentf1718afbd134c9b4a5db2dfe3c3ec1f804312123 (diff)
downloadDotNetOpenAuth-5e219c5f01391d2d47b108d68c945fa9dcf7d9bc.zip
DotNetOpenAuth-5e219c5f01391d2d47b108d68c945fa9dcf7d9bc.tar.gz
DotNetOpenAuth-5e219c5f01391d2d47b108d68c945fa9dcf7d9bc.tar.bz2
Merge branch 'master' into oauthWRAP
Conflicts: src/DotNetOpenAuth/DotNetOpenAuth.csproj
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/CreateDatabase.sql')
-rw-r--r--projecttemplates/RelyingPartyLogic/CreateDatabase.sql4
1 files changed, 4 insertions, 0 deletions
diff --git a/projecttemplates/RelyingPartyLogic/CreateDatabase.sql b/projecttemplates/RelyingPartyLogic/CreateDatabase.sql
index dd7a69e..0fa1b43 100644
--- a/projecttemplates/RelyingPartyLogic/CreateDatabase.sql
+++ b/projecttemplates/RelyingPartyLogic/CreateDatabase.sql
@@ -711,6 +711,10 @@ PRINT N'Checking existing data against newly created constraints';
GO
+USE [$(DatabaseName)];
+
+
+GO
ALTER TABLE [dbo].[AuthenticationToken] WITH CHECK CHECK CONSTRAINT [FK_AuthenticationToken_User];
ALTER TABLE [dbo].[IssuedToken] WITH CHECK CHECK CONSTRAINT [FK_IssuedToken_Consumer];