PrimaryKey Notification

This commit is contained in:
Glax 2024-12-16 18:02:48 +01:00
parent 3ee3a07565
commit a0774841bc

View File

@ -3,7 +3,7 @@ using Microsoft.EntityFrameworkCore;
namespace API.Schema;
[PrimaryKey("AltTitleId")]
[PrimaryKey("NotificationId")]
public class Notification(string title, string message = "", byte urgency = 2)
{
[MaxLength(64)]