Test: modified folder methods

This commit is contained in:
HFO4
2019-12-07 20:27:20 +08:00
parent 56b1ae9f31
commit 05c802e0fa
4 changed files with 318 additions and 522 deletions

View File

@@ -17,7 +17,6 @@ type File struct {
PicInfo string
FolderID uint `gorm:"index:folder_id;unique_index:idx_only_one"`
PolicyID uint
Dir string `gorm:"size:65536"`
// 关联模型
Policy Policy `gorm:"PRELOAD:false,association_autoupdate:false"`