mattermost-mobile/app/database/schema/server
TheoForger e932cf30a0
Add Index to 'type' column in 'Post' table (#8278)
* 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>
2024-10-26 14:14:56 +02:00
..
table_schemas Add Index to 'type' column in 'Post' table (#8278) 2024-10-26 14:14:56 +02:00
index.ts Add Index to 'type' column in 'Post' table (#8278) 2024-10-26 14:14:56 +02:00
test.ts Add Index to 'type' column in 'Post' table (#8278) 2024-10-26 14:14:56 +02:00