mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
d0cc036d48
New table for community tokens. API for get,add, update community token. Issue #9233
17 lines
527 B
SQL
17 lines
527 B
SQL
CREATE TABLE IF NOT EXISTS community_tokens (
|
|
community_id TEXT NOT NULL,
|
|
address TEXT NOT NULL,
|
|
type INT NOT NULL,
|
|
name TEXT NOT NULL,
|
|
symbol TEXT NOT NULL,
|
|
description TEXT NOT NULL,
|
|
supply INT NOT NULL DEFAULT 0,
|
|
infinite_supply BOOLEAN NOT NULL DEFAULT FALSE,
|
|
transferable BOOLEAN NOT NULL DEFAULT FALSE,
|
|
remote_self_destruct BOOLEAN NOT NULL DEFAULT FALSE,
|
|
chain_id INT NOT NULL,
|
|
deploy_state INT NOT NULL,
|
|
image_base64 TEXT NOT NULL DEFAULT "",
|
|
PRIMARY KEY(community_id, address, chain_id)
|
|
);
|