🐛 Bug fixes

This commit is contained in:
2025-10-26 02:41:17 +08:00
parent e7a46e96ed
commit 323fa8ee15
2 changed files with 6 additions and 4 deletions

View File

@@ -17,10 +17,6 @@ public class SnRealm : ModelBase, IIdentifiedResource
[MaxLength(4096)] public string Description { get; set; } = string.Empty;
public bool IsCommunity { get; set; }
public bool IsPublic { get; set; }
// Outdated fields, for backward compability
[MaxLength(32)] public string? PictureId { get; set; }
[MaxLength(32)] public string? BackgroundId { get; set; }
[Column(TypeName = "jsonb")] public SnCloudFileReferenceObject? Picture { get; set; }
[Column(TypeName = "jsonb")] public SnCloudFileReferenceObject? Background { get; set; }