Skip to content

Commit

Permalink
rename token_events to token_supply_events
Browse files Browse the repository at this point in the history
  • Loading branch information
fschoell committed Apr 9, 2024
1 parent 1fe72b3 commit d6ba4ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ CREATE TABLE IF NOT EXISTS account_events

-- The table to store all token supply changes. This uses the account and block_num as first primary keys so we can
-- use this table to lookup token supplies from a certain block number.
CREATE TABLE IF NOT EXISTS token_events
CREATE TABLE IF NOT EXISTS token_supply_events
(
trx_id String,
action_index UInt32,
Expand Down Expand Up @@ -224,7 +224,7 @@ SELECT contract,
value,
block_num AS updated_at_block_num,
timestamp AS updated_at_timestamp
FROM token_events;
FROM token_supply_events;

CREATE MATERIALIZED VIEW transfers_from_mv
TO transfers_from
Expand Down

0 comments on commit d6ba4ce

Please sign in to comment.