IO-3015 add additional indexs.
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
-- Could not auto-generate a down migration.
|
||||||
|
-- Please write an appropriate down migration for the SQL below:
|
||||||
|
-- CREATE index idx_messages_unread_agg ON messages (read, isoutbound)
|
||||||
|
-- WHERE read = false AND isoutbound = false;
|
||||||
2
hasura/migrations/1730521661838_run_sql_migration/up.sql
Normal file
2
hasura/migrations/1730521661838_run_sql_migration/up.sql
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
CREATE index idx_messages_unread_agg ON messages (read, isoutbound)
|
||||||
|
WHERE read = false AND isoutbound = false;
|
||||||
Reference in New Issue
Block a user