Remove team unreads and rely on channel member instead (#5710)

This commit is contained in:
Elias Nahum
2021-10-01 16:07:57 -03:00
committed by GitHub
parent e2ecf2f0f7
commit 2f8160d360
18 changed files with 23 additions and 77 deletions

View File

@@ -10,8 +10,6 @@ const {MY_TEAM} = MM_TABLES.SERVER;
export default tableSchema({
name: MY_TEAM,
columns: [
{name: 'is_unread', type: 'boolean'},
{name: 'mentions_count', type: 'number'},
{name: 'roles', type: 'string'},
],
});

View File

@@ -322,13 +322,9 @@ describe('*** Test schema for SERVER database ***', () => {
[MY_TEAM]: {
name: MY_TEAM,
columns: {
is_unread: {name: 'is_unread', type: 'boolean'},
mentions_count: {name: 'mentions_count', type: 'number'},
roles: {name: 'roles', type: 'string'},
},
columnArray: [
{name: 'is_unread', type: 'boolean'},
{name: 'mentions_count', type: 'number'},
{name: 'roles', type: 'string'},
],
},