Compare commits
No commits in common. "f57150d14d57c87ad0fb9a58b706e54b1de75213" and "b1befd31ca870acee54a2d178bc5d29d82d1f496" have entirely different histories.
f57150d14d
...
b1befd31ca
|
|
@ -5,7 +5,7 @@ import "gorm.io/gorm"
|
|||
type File struct {
|
||||
gorm.Model
|
||||
// 存储文件名
|
||||
FileStoreName string `gorm:"column:file_store_name;type:varchar(255);uniqueIndex:idx_file_name"`
|
||||
FileStoreName string `gorm:"column:file_store_name;uniqueIndex:idx_file_name"`
|
||||
NeedAuth bool `gorm:"column:need_auth"`
|
||||
FileName string `gorm:"column:file_name"`
|
||||
FileSize int `gorm:"column:file_size"`
|
||||
|
|
|
|||
Loading…
Reference in New Issue