From 50405de8d415e2bef7fd43bd42fc84f8363a4d9c Mon Sep 17 00:00:00 2001 From: durch Date: Wed, 27 Nov 2024 10:30:11 +0100 Subject: [PATCH] Add indexes to monitor run and testing route --- nym-api/migrations/20241127100000_monitor_run_indexes.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nym-api/migrations/20241127100000_monitor_run_indexes.sql diff --git a/nym-api/migrations/20241127100000_monitor_run_indexes.sql b/nym-api/migrations/20241127100000_monitor_run_indexes.sql new file mode 100644 index 0000000000..c3ba36f4e4 --- /dev/null +++ b/nym-api/migrations/20241127100000_monitor_run_indexes.sql @@ -0,0 +1,8 @@ +/* + * Copyright 2024 - Nym Technologies SA + * SPDX-License-Identifier: Apache-2.0 + */ + +create index monitor_run_timestamp on monitor_run(timestamp); +create index monitor_run_id on monitor_run(id); +create index testing_route_monitor_run_id on testing_route(monitor_run_id)