Added Archived column to FileInfo (#20164)

* Added Archived column to FileInfo

* fixed typo

* Added new column to store column list

* Fixing tests

* Updated migration number to syncup with master
Этот коммит содержится в:
Harshil Sharma
2022-05-23 12:15:56 +05:30
коммит произвёл GitHub
родитель c100fc2135
Коммит b13d5e7466
6 изменённых файлов: 34 добавлений и 0 удалений

Просмотреть файл

@@ -55,6 +55,7 @@ type FileInfo struct {
MiniPreview *[]byte `json:"mini_preview"` // declared as *[]byte to avoid postgres/mysql differences in deserialization
Content string `json:"-"`
RemoteId *string `json:"remote_id"`
Archived bool `json:"archived"`
}
func (fi *FileInfo) PreSave() {