* Rename groups in channel/team to group channel/team * Redefine groups schema * Groups action and operator * Add group at mentions * fix uni test * Update types/database/models/servers/group.d.ts Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com> Co-authored-by: Avinash Lingaloo <avinashlng1080@gmail.com>
16 lines
451 B
TypeScript
16 lines
451 B
TypeScript
// Copyright (c) 2015-present Mattermost, Inc. All Rights Reserved.
|
|
// See LICENSE.txt for license information.
|
|
|
|
import {tableSchema} from '@nozbe/watermelondb';
|
|
|
|
import {MM_TABLES} from '@constants/database';
|
|
|
|
const {GROUPS_TEAM} = MM_TABLES.SERVER;
|
|
|
|
export default tableSchema({
|
|
name: GROUPS_TEAM,
|
|
columns: [
|
|
{name: 'group_id', type: 'string', isIndexed: true},
|
|
{name: 'team_id', type: 'string', isIndexed: true},
|
|
],
|
|
});
|