From ed14c8ce7e9c766b95709a999104e9c976b0d057 Mon Sep 17 00:00:00 2001 From: Toastie Date: Mon, 4 Nov 2024 19:22:13 +1300 Subject: [PATCH] possible fix for patron table --- src/EllieBot/Db/Models/support/PatronQuota.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/EllieBot/Db/Models/support/PatronQuota.cs b/src/EllieBot/Db/Models/support/PatronQuota.cs index 4f529fa..d88df4d 100644 --- a/src/EllieBot/Db/Models/support/PatronQuota.cs +++ b/src/EllieBot/Db/Models/support/PatronQuota.cs @@ -1,8 +1,11 @@ #nullable disable +using System.ComponentModel.DataAnnotations; + namespace EllieBot.Db.Models; public class PatronUser { + [Key] public int Id { get; set; } public string UniquePlatformUserId { get; set; } public ulong UserId { get; set; }