Remove named constraint from SqlCache tool (#310)

This commit is contained in:
Nate McMaster 2017-06-19 15:10:21 -07:00 committed by GitHub
parent 0742f56dbd
commit 0dfb8e474a
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ namespace Microsoft.Extensions.Caching.SqlConfig.Tools
"ExpiresAtTime datetimeoffset NOT NULL, " +
"SlidingExpirationInSeconds bigint NULL," +
"AbsoluteExpiration datetimeoffset NULL, " +
"CONSTRAINT pk_Id PRIMARY KEY (Id))";
"PRIMARY KEY (Id))";
private const string CreateNonClusteredIndexOnExpirationTimeFormat
= "CREATE NONCLUSTERED INDEX Index_ExpiresAtTime ON {0}(ExpiresAtTime)";