2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 07:57:21 +08:00

fix: postgresql 数据库删除

This commit is contained in:
耗子
2024-11-27 03:52:37 +08:00
parent c2aa4a4904
commit 52587e9cb3

View File

@@ -189,7 +189,7 @@ func (r databaseUserRepo) Delete(id uint) error {
if err != nil {
return err
}
_ = postgres.DatabaseDrop(user.Username)
_ = postgres.UserDrop(user.Username)
}
return app.Orm.Where("id = ?", id).Delete(&biz.DatabaseUser{}).Error