Skip to content

Commit

Permalink
score_percent to NUMERIC(5,2)
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-iohk committed Apr 9, 2024
1 parent 0cab573 commit 6aa37ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uptime_service_validation/database/create_tables.sql
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ CREATE TABLE IF NOT EXISTS nodes (
block_producer_key TEXT,
updated_at TIMESTAMPTZ(6),
score INT,
score_percent NUMERIC(10,2),
score_percent NUMERIC(5,2),
discord_id TEXT,
email_id TEXT,
application_status BOOLEAN
Expand Down Expand Up @@ -69,7 +69,7 @@ CREATE TABLE IF NOT EXISTS score_history (
node_id INT,
score_at TIMESTAMP(6),
score INT,
score_percent NUMERIC(10,2),
score_percent NUMERIC(5,2),
CONSTRAINT fk_nodes
FOREIGN KEY(node_id)
REFERENCES nodes(id)
Expand Down

0 comments on commit 6aa37ae

Please sign in to comment.