mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-02-06 05:30:05 +00:00
✨ feat(notification): 添加通知方式
This commit is contained in:
@@ -34,7 +34,7 @@ func init() {
|
||||
}
|
||||
|
||||
func initDB() {
|
||||
dao.DB.AutoMigrate(model.Server{}, model.User{})
|
||||
dao.DB.AutoMigrate(model.Server{}, model.User{}, model.Notification{})
|
||||
// load cache
|
||||
var servers []model.Server
|
||||
dao.DB.Find(&servers)
|
||||
|
||||
Reference in New Issue
Block a user