add EF core db migrations, add banned + forbidden uploads db entries, adjust authentication to include characternamehash to check for bans, prepare for message sending from client to other clients

This commit is contained in:
Stanley Dimant 2022-06-29 22:42:58 +02:00
parent 1ac5e2655e
commit 906f719879
20 changed files with 1026 additions and 61 deletions

View file

@ -0,0 +1,11 @@
using System.ComponentModel.DataAnnotations;
namespace MareSynchronosServer.Models
{
public class ForbiddenUploadEntry
{
[Key]
public string Hash { get; set; }
public string ForbiddenBy { get; set; }
}
}