mattermost-mobile/app/database/models/server
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 - Adds actions, queries, db models and rest client (#5953) 2022-02-11 18:40:44 -03:00
channel.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
channel_info.ts [Gekidou] Performance & UI fixes (#6122) 2022-04-04 17:09:26 -04:00
channel_membership.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
custom_emoji.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
draft.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
file.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03: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 - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
my_team.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
post.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
posts_in_channel.ts fix association (#6108) 2022-03-31 10:32:27 -03:00
posts_in_thread.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
preference.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
reaction.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
role.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
system.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
team.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
team_channel_history.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00
team_membership.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
team_search_history.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
thread.ts [Gekidou HOTFIX] fixes saving threads in the DB (#6132) 2022-04-06 17:37:17 +03:00
thread_in_team.ts [Gekidou HOTFIX] fixes saving threads in the DB (#6132) 2022-04-06 17:37:17 +03:00
thread_participant.ts Gekidou - Fix to make all models implement their respective interface (#6099) 2022-03-29 17:41:46 -03:00
user.ts Gekidou - Updated Server Database Diagrams/Schema/Models (#6119) 2022-04-07 10:14:28 -04:00