diff options
author | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-20 07:44:43 -0700 |
---|---|---|
committer | Andrew Arnott <andrewarnott@gmail.com> | 2010-07-20 07:44:43 -0700 |
commit | 61f58263ec9a0421088f1458dc4438f5a98c0eee (patch) | |
tree | 3f9ca5d80d6c2c6fff1c39471985cb1e2f98671d /projecttemplates/RelyingPartyLogic/CreateDatabase.sql | |
parent | a471c36d5c22640db86060413bba5003e90e32a9 (diff) | |
download | DotNetOpenAuth-61f58263ec9a0421088f1458dc4438f5a98c0eee.zip DotNetOpenAuth-61f58263ec9a0421088f1458dc4438f5a98c0eee.tar.gz DotNetOpenAuth-61f58263ec9a0421088f1458dc4438f5a98c0eee.tar.bz2 |
It looks like the build is mysteriously going back to the originally generated SQL.
Weird.
Diffstat (limited to 'projecttemplates/RelyingPartyLogic/CreateDatabase.sql')
-rw-r--r-- | projecttemplates/RelyingPartyLogic/CreateDatabase.sql | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/projecttemplates/RelyingPartyLogic/CreateDatabase.sql b/projecttemplates/RelyingPartyLogic/CreateDatabase.sql index adc1e91..c229473 100644 --- a/projecttemplates/RelyingPartyLogic/CreateDatabase.sql +++ b/projecttemplates/RelyingPartyLogic/CreateDatabase.sql @@ -10,8 +10,8 @@ GO /* :setvar Path1 "WEBROOT\App_Data\" :setvar DatabaseName "RelyingPartyDatabase" -:setvar DefaultDataPath "c:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\" -:setvar DefaultLogPath "c:\Program Files (x86)\Microsoft SQL Server\MSSQL.1\MSSQL\DATA\" +:setvar DefaultDataPath "" +:setvar DefaultLogPath "" */ GO @@ -709,3 +709,9 @@ ALTER TABLE [dbo].[UserRole] WITH CHECK CHECK CONSTRAINT [FK_UserRole_User]; GO +ALTER DATABASE [$(DatabaseName)] + SET MULTI_USER + WITH ROLLBACK IMMEDIATE; + + +GO |