mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 06:12:55 +00:00
9 lines
327 B
SQL
9 lines
327 B
SQL
CREATE TABLE IF NOT EXISTS collectibles_ownership_cache (
|
|
chain_id UNSIGNED BIGINT NOT NULL,
|
|
contract_address VARCHAR NOT NULL,
|
|
token_id BLOB NOT NULL,
|
|
owner_address VARCHAR NOT NULL
|
|
);
|
|
|
|
CREATE INDEX IF NOT EXISTS collectibles_ownership_filter_entries ON collectibles_ownership_cache (chain_id, owner_address);
|