Files
bodyshop/hasura/migrations/1730521661838_run_sql_migration/up.sql
2024-11-01 21:33:03 -07:00

3 lines
112 B
SQL

CREATE index idx_messages_unread_agg ON messages (read, isoutbound)
WHERE read = false AND isoutbound = false;