From 1fe72b3c36de89f027c0128baae0962d0a6ba531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Frederik=20Sch=C3=B6ll?= Date: Tue, 9 Apr 2024 11:57:18 +0200 Subject: [PATCH] rename token_balances to token_supplies --- schema.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/schema.sql b/schema.sql index c5bfa67..53406e1 100644 --- a/schema.sql +++ b/schema.sql @@ -121,7 +121,7 @@ CREATE TABLE IF NOT EXISTS account_balances ORDER BY (account, contract, symcode); -- Table to store up to date token supplies -- -CREATE TABLE IF NOT EXISTS token_balances +CREATE TABLE IF NOT EXISTS token_supplies ( contract String, symcode String, @@ -211,8 +211,8 @@ SELECT account, timestamp AS updated_at_timestamp FROM account_events; -CREATE MATERIALIZED VIEW token_balances_mv - TO token_balances +CREATE MATERIALIZED VIEW token_supplies_mv + TO token_supplies AS SELECT contract, symcode,