Commit 3b44c8d9 authored by Savorboard's avatar Savorboard

fixed sql server scripts bug of create table scheme. #85

parent a2b235de
...@@ -54,7 +54,7 @@ namespace DotNetCore.CAP.SqlServer ...@@ -54,7 +54,7 @@ namespace DotNetCore.CAP.SqlServer
$@" $@"
IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = '{schema}') IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = '{schema}')
BEGIN BEGIN
EXEC('CREATE SCHEMA {schema}') EXEC('CREATE SCHEMA [{schema}]')
END; END;
IF OBJECT_ID(N'[{schema}].[Queue]',N'U') IS NULL IF OBJECT_ID(N'[{schema}].[Queue]',N'U') IS NULL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment