Merge pull request #7227 from mattermost/MM-44655_add-files-count-column-in-channel-info-table

[MM-44655 ]: Add files_count column in ChannelInfo table and DB migration
This commit is contained in:
Ashish Dhama
2023-03-29 23:04:54 +05:30
committed by GitHub
16 changed files with 43 additions and 5 deletions

View File

@@ -172,6 +172,7 @@ export const gqlToClientChannelStats = (s: Partial<GQLChannel>): ChannelStats =>
guest_count: s.stats?.guestCount || 0,
member_count: s.stats?.memberCount || 0,
pinnedpost_count: s.stats?.pinnePostCount || 0,
files_count: s.stats?.filesCount || 0,
};
};