diff options
| author | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-05-13 16:52:04 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <anhgelus@anhgelus.world> | 2025-05-13 16:52:04 +0200 |
| commit | 61c7bf4567249da0d13c2f738e56754a2c181c99 (patch) | |
| tree | 2a4f52d3c3e0b3d6f381882392743d07f65bbb5b /main.go | |
| parent | 01bafe9bf1de5be4e770b9500480807d4973d8d6 (diff) | |
fix(db): wrong relation and bad where condition
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ func main() { panic(err) } - err = gokord.DB.AutoMigrate(&user.Copaing{}, &config.GuildConfig{}, &config.XpRole{}) + err = gokord.DB.AutoMigrate(&user.Copaing{}, &config.GuildConfig{}, &config.XpRole{}, &user.CopaingXP{}) if err != nil { panic(err) } |
