Skip to content

Commit 9dac350

Browse files
committed
include file meta hash in paginated ref
1 parent 95927e7 commit 9dac350

File tree

1 file changed

+1
-0
lines changed
  • code/go/0chain.net/blobbercore/reference

1 file changed

+1
-0
lines changed

code/go/0chain.net/blobbercore/reference/ref.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,7 @@ type PaginatedRef struct { //Gorm smart select fields.
144144
ActualThumbnailHash string `gorm:"column:actual_thumbnail_hash" json:"actual_thumbnail_hash,omitempty"`
145145
EncryptedKey string `gorm:"column:encrypted_key" json:"encrypted_key,omitempty"`
146146
EncryptedKeyPoint string `gorm:"column:encrypted_key_point" json:"encrypted_key_point,omitempty"`
147+
FileMetaHash string `gorm:"column:file_meta_hash;size:64;not null" dirlist:"file_meta_hash" filelist:"file_meta_hash"`
147148

148149
CreatedAt common.Timestamp `gorm:"column:created_at" json:"created_at,omitempty"`
149150
UpdatedAt common.Timestamp `gorm:"column:updated_at" json:"updated_at,omitempty"`

0 commit comments

Comments
 (0)