* MM_30476 : Added all isolated tables from the server schema * MM_30476 : Updated 'test' script in package.json * MM_30476 : ADDED team section of the server schema * MM_30476 : ADDED section for Group from the server schema * MM_30476 : One PR for one section only * MM_30476 : One PR for one section only * MM_30476 : Apply suggestions from code review Co-authored-by: Elias Nahum <nahumhbl@gmail.com> * MM_30476 : ADDED lazy queries to group_membership model * MM_30476 : Update model to match definition - GroupsInChannel * MM_30476 : Updated all comments to match their variable/field name Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
16 lines
406 B
TypeScript
16 lines
406 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 {GROUP} = MM_TABLES.SERVER;
|
|
|
|
export default tableSchema({
|
|
name: GROUP,
|
|
columns: [
|
|
{name: 'display_name', type: 'string'},
|
|
{name: 'name', type: 'string'},
|
|
],
|
|
});
|