If not exists

This commit is contained in:
durch
2024-11-27 10:33:14 +01:00
parent 50405de8d4
commit da8fd4a2e6
@@ -3,6 +3,6 @@
* 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)
CREATE INDEX IF NOT EXISTS monitor_run_timestamp on monitor_run(timestamp);
CREATE INDEX IF NOT EXISTS monitor_run_id on monitor_run(id);
CREATE INDEX IF NOT EXISTS testing_route_monitor_run_id on testing_route(monitor_run_id)