mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 07:57:21 +08:00
fix: postgresql 数据库删除
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user