文件管理增加数据库表。
This commit is contained in:
@@ -33,6 +33,7 @@ func Init(cfg *config.DatabaseConfig) error {
|
||||
&models.Comment{},
|
||||
&models.Page{},
|
||||
&models.Option{},
|
||||
&models.File{},
|
||||
)
|
||||
if err != nil {
|
||||
return err
|
||||
|
||||
Reference in New Issue
Block a user