mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 23:41:17 -05:00
We are adding an index to Notifications to optimize the get_notifications_for_service. We need to build the index concurrently which can not be run inside a transaction block so the index will need to be run on the db directly. CREATE INDEX CONCURRENTLY ix_notifications_service_created_at ON notifications (service_id, created_at); DROP INDEX CONCURRENTLY ix_notifications_service_created_at
22 KiB
22 KiB