From 2b301c0aab7ff7f707c4adf146654869b8ac5d15 Mon Sep 17 00:00:00 2001 From: Kwoth Date: Sun, 3 Nov 2024 08:31:23 +0000 Subject: [PATCH] fix: possible fix for patron table --- src/NadekoBot/Db/Models/support/PatronQuota.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/NadekoBot/Db/Models/support/PatronQuota.cs b/src/NadekoBot/Db/Models/support/PatronQuota.cs index 99bb4fc9f..f6c218d5c 100644 --- a/src/NadekoBot/Db/Models/support/PatronQuota.cs +++ b/src/NadekoBot/Db/Models/support/PatronQuota.cs @@ -1,8 +1,11 @@ #nullable disable +using System.ComponentModel.DataAnnotations; + namespace NadekoBot.Db.Models; public class PatronUser { + [Key] public int Id { get; set; } public string UniquePlatformUserId { get; set; } public ulong UserId { get; set; }