Skip to content
Permalink
Browse files

add "[]" to {schema} dotnetcore#85

  • Loading branch information...
dillon
dillon committed Feb 8, 2018
1 parent a2524f1 commit e20fd78b9c23a656bd1d50424207c472f0f3d1f8
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/DotNetCore.CAP.SqlServer/SqlServerStorage.cs
@@ -54,7 +54,7 @@ protected virtual string CreateDbTablesScript(string schema)
$@"
IF NOT EXISTS (SELECT * FROM sys.schemas WHERE name = '{schema}')
BEGIN
EXEC('CREATE SCHEMA {schema}')
EXEC('CREATE SCHEMA [{schema}]')
END;
IF OBJECT_ID(N'[{schema}].[Queue]',N'U') IS NULL

0 comments on commit e20fd78

Please sign in to comment.
You can’t perform that action at this time.