Skip to content

Commit

Permalink
longer numeric score_percent
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Mar 1, 2024
1 parent ae2ba00 commit 5025186
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uptime_service_validation/database/createDB.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 5025186

Please sign in to comment.