urlHash column has to be 20 chars because SHA1 uses more bytes than MD5
This commit is contained in:
committed by
GitHub
parent
6c271d92f9
commit
3dcba7a6b0
@@ -39,7 +39,7 @@ namespace Umbraco.Core.Persistence.Migrations.Upgrades.TargetVersionSevenFiveZer
|
||||
.WithColumn("createDateUtc").AsDateTime().NotNullable()
|
||||
.WithColumn("url").AsString(2048).NotNullable()
|
||||
.WithColumn("contentKey").AsGuid().NotNullable()
|
||||
.WithColumn("urlHash").AsString(16).NotNullable();
|
||||
.WithColumn("urlHash").AsString(20).NotNullable();
|
||||
|
||||
localContext.Create.Index("IX_" + umbracoRedirectUrlTableName).OnTable(umbracoRedirectUrlTableName)
|
||||
.OnColumn("urlHash")
|
||||
|
||||
Reference in New Issue
Block a user