migration update

This commit is contained in:
benedettadavico
2026-04-20 10:42:35 +02:00
parent 88749b5bc8
commit 07a5e91da2
@@ -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);