status-go/appdatabase/migrationsprevnodecfg/sql/0002_tokens.up.sql

11 lines
248 B
MySQL
Raw Permalink Normal View History

CREATE TABLE IF NOT EXISTS tokens (
address VARCHAR NOT NULL,
network_id UNSIGNED BIGINT NOT NULL,
name TEXT NOT NULL,
symbol VARCHAR NOT NULL,
decimals UNSIGNED INT,
color VARCHAR,
PRIMARY KEY (address, network_id)
) WITHOUT ROWID;