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
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
c100fc2135
Коммит
b13d5e7466
@@ -41,6 +41,7 @@ type fileInfoWithChannelID struct {
|
||||
MiniPreview *[]byte
|
||||
Content string
|
||||
RemoteId *string
|
||||
Archived bool
|
||||
}
|
||||
|
||||
func (fi fileInfoWithChannelID) ToModel() *model.FileInfo {
|
||||
@@ -103,6 +104,7 @@ func newSqlFileInfoStore(sqlStore *SqlStore, metrics einterfaces.MetricsInterfac
|
||||
"FileInfo.MiniPreview",
|
||||
"Coalesce(FileInfo.Content, '') AS Content",
|
||||
"Coalesce(FileInfo.RemoteId, '') AS RemoteId",
|
||||
"FileInfo.Archived",
|
||||
}
|
||||
|
||||
return s
|
||||
|
||||
Ссылка в новой задаче
Block a user