10 lines
261 B
MySQL
10 lines
261 B
MySQL
|
CREATE TABLE token_supply (
|
||
|
id SERIAL,
|
||
|
block_id INTEGER NOT NULL,
|
||
|
supply DECIMAL NOT NULL,
|
||
|
token_address CHARACTER VARYING(66) NOT NULL,
|
||
|
CONSTRAINT blocks_fk FOREIGN KEY (block_id)
|
||
|
REFERENCES blocks (id)
|
||
|
ON DELETE CASCADE
|
||
|
)
|