mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
8 lines
255 B
MySQL
8 lines
255 B
MySQL
|
-- One entry per token, currency
|
||
|
CREATE TABLE IF NOT EXISTS price_cache (
|
||
|
token VARCHAR NOT NULL,
|
||
|
currency VARCHAR NOT NULL,
|
||
|
price REAL NOT NULL
|
||
|
);
|
||
|
|
||
|
CREATE UNIQUE INDEX IF NOT EXISTS price_cache_identify_entry ON price_cache (token, currency);
|