chroe: remove soft delete logical code #20

This commit is contained in:
duorameng
2026-04-09 09:41:57 +08:00
parent b011018a2c
commit 8974e6c13d
12 changed files with 39 additions and 63 deletions
-3
View File
@@ -2,8 +2,6 @@ package models
import (
"github.com/engigu/baihu-panel/internal/constant"
"gorm.io/gorm"
)
// NotifyBinding 事件绑定表
@@ -16,7 +14,6 @@ type NotifyBinding struct {
Extra BigText `json:"extra"` // 额外配置(如是否开启日志推送等,对应 BindingExtra 结构)
CreatedAt LocalTime `json:"created_at"`
UpdatedAt LocalTime `json:"updated_at"`
DeletedAt gorm.DeletedAt `json:"-" gorm:"index"`
}
// BindingExtra 存储在 Extra 字段中的 JSON 配置