Browse Source
Make file hash not required anymore.
pull/1071/head
Sebastian Stehle
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
backend/src/Squidex.Domain.Apps.Entities.MongoDb/Assets/MongoAssetEntity.cs
|
|
@ -41,7 +41,7 @@ public record MongoAssetEntity : Asset, IVersionedEntity<DomainId> |
|
|
|
|
|
|
|
|
cm.MapProperty(x => x.FileHash) |
|
|
cm.MapProperty(x => x.FileHash) |
|
|
.SetElementName("fh") |
|
|
.SetElementName("fh") |
|
|
.SetIsRequired(true); |
|
|
.SetIsRequired(false); |
|
|
|
|
|
|
|
|
cm.MapProperty(x => x.FileSize) |
|
|
cm.MapProperty(x => x.FileSize) |
|
|
.SetElementName("fs") |
|
|
.SetElementName("fs") |
|
|
|