From aff3447a7b84c85be0020af95aecaa6c14f8b09b Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Sun, 25 Jan 2026 17:06:40 +0100 Subject: fix(commands): various dumb things --- config/guild.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/guild.go') diff --git a/config/guild.go b/config/guild.go index 756c0a4..6cdc06b 100644 --- a/config/guild.go +++ b/config/guild.go @@ -9,9 +9,9 @@ import ( ) type Guild struct { - ID uint `gorm:"primarykey"` - GuildID string `gorm:"not null;unique"` - XpRoles []XpRole + ID uint `gorm:"primarykey"` + GuildID string `gorm:"not null;unique"` + XpRoles []XpRole `gorm:"foreignKey:GuildConfigID"` DisabledChannels string FallbackChannel string DaysXPRemains uint `gorm:"default:90"` // 30 * 3 = 90 (three months) -- cgit v1.2.3