diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-01-25 17:06:40 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-01-25 17:06:40 +0100 |
| commit | aff3447a7b84c85be0020af95aecaa6c14f8b09b (patch) | |
| tree | 007dfa9bcc9e528fa855358ff96a59eea0353feb /config/guild.go | |
| parent | 2bf38473893b4fcd86ce7c97c04846237bb8cce4 (diff) | |
fix(commands): various dumb things
Diffstat (limited to 'config/guild.go')
| -rw-r--r-- | config/guild.go | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
