This commit is contained in:
sam 2024-08-16 17:04:24 +02:00
parent 7ea945b427
commit 99c1587e7b
Signed by: sam
GPG key ID: 5F3C3C1B3166639D
12 changed files with 35 additions and 35 deletions

View file

@ -9,8 +9,7 @@ public class Guild
[DatabaseGenerated(DatabaseGeneratedOption.None)]
public required ulong Id { get; init; }
[Column(TypeName = "jsonb")]
public ChannelConfig Channels { get; init; } = new();
[Column(TypeName = "jsonb")] public ChannelConfig Channels { get; init; } = new();
public List<string> BannedSystems { get; init; } = [];
public List<ulong> KeyRoles { get; init; } = [];

View file

@ -7,7 +7,7 @@ public class Watchlist
public required ulong GuildId { get; init; }
public required ulong UserId { get; init; }
public Instant AddedAt { get; init; }
public required ulong ModeratorId { get; set; }
public required string Reason { get; set; }
}