From 8e713d43e1bf3d9de86f0986af2677ffc3b7882d Mon Sep 17 00:00:00 2001 From: Drazen Urch Date: Wed, 27 Nov 2024 11:07:39 +0100 Subject: [PATCH] Add monitor_run and testing_route indexes (#5182) --- .../migrations/20241127110000_add_monitor_run_indexes.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 nym-api/migrations/20241127110000_add_monitor_run_indexes.sql diff --git a/nym-api/migrations/20241127110000_add_monitor_run_indexes.sql b/nym-api/migrations/20241127110000_add_monitor_run_indexes.sql new file mode 100644 index 0000000000..f639bbba7a --- /dev/null +++ b/nym-api/migrations/20241127110000_add_monitor_run_indexes.sql @@ -0,0 +1,8 @@ +/* + * Copyright 2024 - Nym Technologies SA + * SPDX-License-Identifier: Apache-2.0 + */ + +CREATE INDEX IF NOT EXISTS monitor_run_id on monitor_run(id); +CREATE INDEX IF NOT EXISTS monitor_run_timestamp on monitor_run(timestamp); +CREATE INDEX IF NOT EXISTS testing_route_monitor_run_id on testing_route(monitor_run_id); \ No newline at end of file