MM-39720_Invite People - phase 1

This commit is contained in:
Julian Mondragon
2022-10-31 17:25:52 -05:00
parent f033a28eb2
commit 647cd4c9c2
17 changed files with 224 additions and 11 deletions

View File

@@ -37,7 +37,7 @@ import {
} from './table_schemas';
export const serverSchema: AppSchema = appSchema({
version: 3,
version: 4,
tables: [
CategorySchema,
CategoryChannelSchema,

View File

@@ -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'},
],
});

View File

@@ -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]: {