From 50251864ed7253a1e7f5dba5f6bac85c87ff4a60 Mon Sep 17 00:00:00 2001 From: Piotr Stachyra Date: Tue, 27 Feb 2024 15:32:50 +0100 Subject: [PATCH] longer numeric score_percent --- uptime_service_validation/database/createDB.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/uptime_service_validation/database/createDB.sql b/uptime_service_validation/database/createDB.sql index a28ca08..599a63b 100644 --- a/uptime_service_validation/database/createDB.sql +++ b/uptime_service_validation/database/createDB.sql @@ -40,7 +40,7 @@ CREATE TABLE nodes ( block_producer_key TEXT, updated_at TIMESTAMPTZ(6), score INT, - score_percent NUMERIC(6,2), + score_percent NUMERIC(10,2), discord_id TEXT, email_id TEXT, application_status BOOLEAN @@ -75,7 +75,7 @@ CREATE TABLE score_history ( node_id INT, score_at TIMESTAMP(6), score INT, - score_percent NUMERIC(6,2), + score_percent NUMERIC(10,2), CONSTRAINT fk_nodes FOREIGN KEY(node_id) REFERENCES nodes(id)