mattermost-mobile/app/database/schema/server/table_schemas
Avinash Lingaloo 9a72837f04
Gekidou - Updated Server Database Diagrams/Schema/Models (#6119)
* started with the diagrams

* removed redundant tables

next step:
1. reconstruct id ( local id vs server id )
2. annotate fields with examples
3. recreate relationship

* work in progress

* work in progress

* fix association

* update postsInChannel

* removed SlashCommands from the Server database schema

* added missing associations in the models and updated docs/database

* exported server database

* update test

* code corrections following review

* update relationship

* update docs

* removed cyclic relationship

* Revert "removed cyclic relationship"

This reverts commit 4d784efb815c0430aa3f7cc433ac4125898d2621.

* removed isOptional from Draft

* linked myChannelSettings to myChannel instead of Channel

* update diagrams

* store null instead of empty string

* update thread association

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-04-07 10:14:28 -04:00
..
category.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
category_channel.ts [Gekidou] Sidebar Categories (Database only) (#5909) 2022-01-31 10:30:10 -03:00
channel.ts Add channel model property for shared channels (#5749) 2021-10-13 14:28:09 -03:00
channel_info.ts [Gekidou] fix database schema and models (#5553) 2021-07-20 23:24:42 +04:00
channel_membership.ts MM-30482 [Gekidou] Data Operator (#5346) 2021-04-22 19:16:00 +04:00
custom_emoji.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
draft.ts MM-30482 [Gekidou] Data Operator (#5346) 2021-04-22 19:16:00 +04:00
file.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
index.ts removed TOS from Server DB schema (#6117) 2022-04-01 12:35:24 -03:00
my_channel.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
my_channel_settings.ts [Gekidou] fix database schema and models (#5553) 2021-07-20 23:24:42 +04:00
my_team.ts Remove team unreads and rely on channel member instead (#5710) 2021-10-01 16:07:57 -03:00
post.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
posts_in_channel.ts [Gekidou] Allow multiple posts in thread and posts in channel for a specific root or channel (#5594) 2021-08-04 15:43:25 -04:00
posts_in_thread.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
preference.ts MM-30482 [Gekidou] Data Operator (#5346) 2021-04-22 19:16:00 +04:00
reaction.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
role.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
system.ts MM_36721 : Restructure Entities - Global & System (#5504) 2021-07-02 05:08:12 -04:00
team.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
team_channel_history.ts [Gekidou] fix database schema and models (#5553) 2021-07-20 23:24:42 +04:00
team_membership.ts MM-30482 [Gekidou] Data Operator (#5346) 2021-04-22 19:16:00 +04:00
team_search_history.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
thread.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
thread_in_team.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
thread_participant.ts [Gekidou MM-39707] CRT DB (#5948) 2022-03-03 22:47:29 +05:30
user.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00