forked from Ivasoft/mattermost-mobile
MM-39720_Invite People - phase 1
This commit is contained in:
@@ -37,7 +37,7 @@ import {
|
||||
} from './table_schemas';
|
||||
|
||||
export const serverSchema: AppSchema = appSchema({
|
||||
version: 3,
|
||||
version: 4,
|
||||
tables: [
|
||||
CategorySchema,
|
||||
CategoryChannelSchema,
|
||||
|
||||
@@ -19,5 +19,6 @@ export default tableSchema({
|
||||
{name: 'name', type: 'string'},
|
||||
{name: 'type', type: 'string'},
|
||||
{name: 'update_at', type: 'number'},
|
||||
{name: 'invite_id', type: 'string'},
|
||||
],
|
||||
});
|
||||
|
||||
@@ -43,7 +43,7 @@ const {
|
||||
describe('*** Test schema for SERVER database ***', () => {
|
||||
it('=> The SERVER SCHEMA should strictly match', () => {
|
||||
expect(serverSchema).toEqual({
|
||||
version: 3,
|
||||
version: 4,
|
||||
tables: {
|
||||
[CATEGORY]: {
|
||||
name: CATEGORY,
|
||||
@@ -463,6 +463,7 @@ describe('*** Test schema for SERVER database ***', () => {
|
||||
name: {name: 'name', type: 'string'},
|
||||
type: {name: 'type', type: 'string'},
|
||||
update_at: {name: 'update_at', type: 'number'},
|
||||
invite_id: {name: 'invite_id', type: 'string'},
|
||||
},
|
||||
columnArray: [
|
||||
{name: 'allowed_domains', type: 'string'},
|
||||
@@ -474,6 +475,7 @@ describe('*** Test schema for SERVER database ***', () => {
|
||||
{name: 'name', type: 'string'},
|
||||
{name: 'type', type: 'string'},
|
||||
{name: 'update_at', type: 'number'},
|
||||
{name: 'invite_id', type: 'string'},
|
||||
],
|
||||
},
|
||||
[TEAM_CHANNEL_HISTORY]: {
|
||||
|
||||
Reference in New Issue
Block a user