Skip to content

Commit

Permalink
rename token_balances to token_supplies
Browse files Browse the repository at this point in the history
  • Loading branch information
fschoell committed Apr 9, 2024
1 parent f763f08 commit 1fe72b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 1fe72b3

Please sign in to comment.