diff options
author | crupest <crupest@outlook.com> | 2020-02-29 00:14:05 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-02-29 00:14:05 +0800 |
commit | 00955e765a7c847e47658044d84e58309d373bf5 (patch) | |
tree | 8e0c2f151948951c9aac633a9a6eefe2a236953e /Timeline/Entities/UserAvatarEntity.cs | |
parent | 6bf12fb184ee87ba28293ecc576915cbbeab0cf0 (diff) | |
download | timeline-00955e765a7c847e47658044d84e58309d373bf5.tar.gz timeline-00955e765a7c847e47658044d84e58309d373bf5.tar.bz2 timeline-00955e765a7c847e47658044d84e58309d373bf5.zip |
Remove the length constraint in entity as entity framework core does not use them as well.
Diffstat (limited to 'Timeline/Entities/UserAvatarEntity.cs')
-rw-r--r-- | Timeline/Entities/UserAvatarEntity.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Entities/UserAvatarEntity.cs b/Timeline/Entities/UserAvatarEntity.cs index 6cecce1a..be094a77 100644 --- a/Timeline/Entities/UserAvatarEntity.cs +++ b/Timeline/Entities/UserAvatarEntity.cs @@ -17,7 +17,7 @@ namespace Timeline.Entities [Column("type")]
public string? Type { get; set; }
- [Column("etag"), MaxLength(30)]
+ [Column("etag")]
public string? ETag { get; set; }
[Column("last_modified"), Required]
|