From 07a5e91da25dc99e93edf98667a6eb772a5284f3 Mon Sep 17 00:00:00 2001 From: benedettadavico Date: Mon, 20 Apr 2026 10:42:35 +0200 Subject: [PATCH] migration update --- .../migrations_pg/20260414000000_ports_check_testrun_kind.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nym-node-status-api/nym-node-status-api/migrations_pg/20260414000000_ports_check_testrun_kind.sql b/nym-node-status-api/nym-node-status-api/migrations_pg/20260414000000_ports_check_testrun_kind.sql index 300e1fdc71..ea013b2c52 100644 --- a/nym-node-status-api/nym-node-status-api/migrations_pg/20260414000000_ports_check_testrun_kind.sql +++ b/nym-node-status-api/nym-node-status-api/migrations_pg/20260414000000_ports_check_testrun_kind.sql @@ -1,8 +1,8 @@ ALTER TABLE gateways - ADD COLUMN last_ports_check_utc BIGINT; + ADD COLUMN IF NOT EXISTS last_ports_check_utc BIGINT; ALTER TABLE testruns - ADD COLUMN kind SMALLINT NOT NULL DEFAULT 0; + ADD COLUMN IF NOT EXISTS kind SMALLINT NOT NULL DEFAULT 0; CREATE INDEX IF NOT EXISTS idx_testruns_kind_status_created ON testruns (kind, status, created_utc);