mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-29 05:49:16 +01:00
add migration to make client pair UIDs PK
This commit is contained in:
parent
e70f564162
commit
4a83a7dba0
5 changed files with 328 additions and 15 deletions
|
|
@ -4,8 +4,11 @@ namespace MareSynchronosServer.Models
|
|||
{
|
||||
public class ClientPair
|
||||
{
|
||||
public int Id { get; set; }
|
||||
[MaxLength(10)]
|
||||
public string UserUID { get; set; }
|
||||
public User User { get; set; }
|
||||
[MaxLength(10)]
|
||||
public string OtherUserUID { get; set; }
|
||||
public User OtherUser { get; set; }
|
||||
public bool IsPaused { get; set; }
|
||||
public bool AllowReceivingMessages { get; set; } = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue