* MM_30476 : Added all isolated tables from the server schema
* MM_30476 : Updated 'test' script in package.json
* MM_30476 : Rename table schemas to avoid name collision
* MM_30476 : Added 'Channel' section of the server schema
* MM_30476 : Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_30476 : Converted @relation to @immutableRelation
* MM_30476 : Apply suggestions from code review
* MM_30476 : Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_30476 : Minor updates to the comments
* MM_30476 : Minor update to the comments
* MM_30476 : Updated table schema exports
* MM_30476 : Updated comments
* MM_30476 : Apply suggestions from code review
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM_30476 : Update as per suggestions
* MM_30476 : Updated comments
* MM_30476 : Team and MyTeam share 1:1 relationship
* MM_30476 : Updated team comments
* MM_30476 : Updated myteam and team comments
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* 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 : Rename table schemas to avoid name collision
* MM_30476 : ADDED section 'Post' of the server schema
* MM_30476 : Updated Post section of the server schema
* MM_30476 : Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_30476 : Corrected draft wrt to suggestions
* 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 : Removed groups_in_team definition from Post section of this PR
* MM_30476 : Updated all comments to match their variable/field name
* MM_30476 : Updated test
* MM_30476 : Updated imports and groups_in_team definition
* MM_30476 : Updated FileInfo
* MM_30476 : Updated Posts and PostMetadata ts types
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* 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>
* MM_30476 : Added all isolated tables from the server schema
* MM_30476 : Updated 'test' script in package.json
* MM_30476 : Added USER section of the server schema
* MM_30476 : Added the models index back
* MM_30476 : Updated User entity as per previous comments
* MM_30476 : Added lazy query to channel membership
* MM_30476 : Adjusted PR as per suggestions
* MM_30476 : Update nick_name in user model
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM_30476 : Adjusted extra padding
* MM_30476 : Corrected ChannelMemberShipSchema to ChannelMembershipSchema
* MM_30476 : Updated types/database/index.ts to types/database/index.d.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* 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 : Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* MM_30476 : Apply suggestions from code review
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM_30476 : Updates to field name and description
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
* MM_30476 : Updated my_team and team_search_history description
* MM_30476 : Prefixing boolean fields with 'is'
* MM_30476 : Updated channel.d.ts
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* MM_30476 : ADDED lazy queries to TeamMembership
Two methods that will retrieve all users in a team and all the teams that a user is part of
* MM_30476 : Updated descriptions for the associations
* MM_30476 : Updated tests as server schema was updated
* MM_30476 : Updated Team to have a 1:1 relationship with TeamChannelHistory
* MM_30476 : Updated team_membership and user
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
* MM_30476 : Added all isolated tables from the server schema
* MM_30476 : Updated 'test' script in package.json
* MM_30476 : Rename table schemas to avoid name collision
* MM_30476 : ADDED @babel/plugin-tranform-flow-strip-types
* MM_30476 : ADDED test for default schema
* MM_30476 : ADDED tests to server schema
* MM_30476 : ADDED tests for models and schema
* MM_30476 : ADDED tests for models and schema
* MM_30476 : Removed the tests on the models.
* MM_30475 : ADDED default schema
* MM_30475 : Updated typings and references to MM_TABLES
* MM_30475 : Removed the app_id (The id field will be overwritten at the time of creation.)
* MM_30475 : Updated PR as per comments