fix(internal): 删除cateage部分,修复repo和service部分
This commit is contained in:
@@ -8,7 +8,7 @@ import (
|
||||
|
||||
func Init() {
|
||||
err := db.GetDB().AutoMigrate(
|
||||
new(User), new(Cateage), new(Site),
|
||||
new(User),
|
||||
)
|
||||
if err != nil {
|
||||
logger.Error("database migrate error", zap.Stack("migrate"))
|
||||
|
||||
Reference in New Issue
Block a user