From 526660dc35101cc74411b15a0f301089ed5fecf6 Mon Sep 17 00:00:00 2001 From: Timothy Schenk Date: Fri, 24 Nov 2023 20:07:43 +0100 Subject: [PATCH] revert: Characters can not be null --- Server/DB/Documents/Account.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Server/DB/Documents/Account.cs b/Server/DB/Documents/Account.cs index edab85f..77e37ad 100644 --- a/Server/DB/Documents/Account.cs +++ b/Server/DB/Documents/Account.cs @@ -31,8 +31,7 @@ public class Account [EmailAddress] public string Email { get; set; } public byte PermissionLevel { get; set; } [Column(TypeName = "bytea")] public byte[] Salt { get; set; } - - [CanBeNull] public virtual ICollection Characters { get; set; } + public virtual ICollection Characters { get; set; } [DeleteBehavior(DeleteBehavior.Cascade)] [CanBeNull]