* update `Post` table schema and migration plan to index `type` column * use `unsafeExecuteSql()` for adding index during migration * Update SQL query to create index Co-authored-by: Elias Nahum <nahumhbl@gmail.com> * Update docs * Remove `UNIQUE` from SQL query Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com> --------- Co-authored-by: Elias Nahum <nahumhbl@gmail.com> Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com> |
||
|---|---|---|
| .. | ||
| category.ts | ||
| category_channel.ts | ||
| channel.ts | ||
| channel_bookmark.ts | ||
| channel_info.ts | ||
| channel_membership.ts | ||
| config.ts | ||
| custom_emoji.ts | ||
| draft.ts | ||
| file.ts | ||
| group.ts | ||
| group_channel.ts | ||
| group_membership.ts | ||
| group_team.ts | ||
| index.ts | ||
| my_channel.ts | ||
| my_channel_settings.ts | ||
| my_team.ts | ||
| post.ts | ||
| posts_in_channel.ts | ||
| posts_in_thread.ts | ||
| preference.ts | ||
| reaction.ts | ||
| role.ts | ||
| system.ts | ||
| team.ts | ||
| team_channel_history.ts | ||
| team_membership.ts | ||
| team_search_history.ts | ||
| team_threads_sync.ts | ||
| thread.ts | ||
| thread_in_team.ts | ||
| thread_participant.ts | ||
| user.ts | ||