From 0898860f919e5e5884cfe108223c77c5ca6b1aad Mon Sep 17 00:00:00 2001 From: Wan Qi Chen <495709+wa0x6e@users.noreply.github.com> Date: Mon, 4 Nov 2024 14:00:51 +0900 Subject: [PATCH] fix: fix: update schema to reflect new columns in proposals --- src/helpers/schema.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/helpers/schema.sql b/src/helpers/schema.sql index d863e088..ad74999e 100644 --- a/src/helpers/schema.sql +++ b/src/helpers/schema.sql @@ -58,6 +58,9 @@ CREATE TABLE proposals ( scores_state VARCHAR(24) NOT NULL, scores_total DECIMAL(64,30) NOT NULL, scores_updated INT(11) NOT NULL, + vp_usd decimal(64,30) NOT NULL DEFAULT '0.000000000000000000000000000000', + vp_eth decimal(64,30) NOT NULL DEFAULT '0.000000000000000000000000000000', + vp_value_by_strategy json NOT NULL, votes INT(12) NOT NULL, flagged INT NOT NULL DEFAULT 0, PRIMARY KEY (id),