MM-45494: Add endpoint for message history (#20945)
* add api url * write sql in store * update app and client golang driver * update layers and tests * change sql query sort * update layers * fix style * fix style post_store.go * fix comments * add test for app/post_test.go * update layers * fix test * fix style * fix style again :) * add permission check * add additional checks and tests * change from nil to empty * update app-layers * fix style * add index for OriginalId for Posts table * fix postgres query * update migration file names * update app-layers * address PR reviews * write tests for post store * fix style * Update file name * Update file name 2 * Update file name 3 * Update file name 4 * change the error orders * update migration file name --------- Co-authored-by: Mattermod <mattermod@users.noreply.github.com> Co-authored-by: Mattermost Build <build@mattermost.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
eabf454764
Коммит
50fec7c892
@@ -0,0 +1 @@
|
||||
DROP INDEX IF EXISTS idx_posts_original_id;
|
||||
1
db/migrations/postgres/000102_posts_originalid_index.up.sql
Обычный файл
1
db/migrations/postgres/000102_posts_originalid_index.up.sql
Обычный файл
@@ -0,0 +1 @@
|
||||
CREATE INDEX IF NOT EXISTS idx_posts_original_id ON Posts(originalid);
|
||||
Ссылка в новой задаче
Block a user