diff --git a/API/Schema/Notification.cs b/API/Schema/Notification.cs index 2be36ad..a5de123 100644 --- a/API/Schema/Notification.cs +++ b/API/Schema/Notification.cs @@ -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)]