提交
This commit is contained in:
@@ -4,7 +4,7 @@ import "time"
|
||||
|
||||
// Share 文件分享模型
|
||||
type Share struct {
|
||||
ID uint64 `json:"id" gorm:"primaryKey;autoIncrement"`
|
||||
ID uint64 `json:"id" gorm:"primaryKey"`
|
||||
FileID uint64 `json:"file_id" gorm:"not null"`
|
||||
OwnerID uint64 `json:"owner_id" gorm:"not null"`
|
||||
ShareCode string `json:"share_code" gorm:"uniqueIndex;size:32;not null"`
|
||||
|
||||
Reference in New Issue
Block a user