status-go/appdatabase/migrations/sql/1630485153_networks.up.sql
Anthony Laibe 07651d4d06
feat: enable wallet without network binding (#2349)
* feat: enable wallet without network binding

* feat: make transfer network aware

* feat: allow to pass initial networks via config

* fix: nil check and feed

* feat: Add documentation with better function name

* fix: do not init the manager more than once

* fix: PR feedbacks

* Bump version

* Update Jenkinsfile.tests

* Convert int to string

Co-authored-by: RichΛrd <info@richardramos.me>
2021-09-09 16:28:54 +02:00

16 lines
394 B
SQL

CREATE TABLE IF NOT EXISTS networks (
chain_id UNSIGNED BIGINT NOT NULL,
chain_name VARCHAR NOT NULL,
rpc_url VARCHAR NOT NULL,
block_explorer_url VARCHAR,
icon_url VARCHAR,
native_currency_name VARCHAR,
native_currency_symbol VARCHAR,
native_currency_decimals UNSIGNED INT,
is_test BOOLEAN,
layer UNSIGNED INT,
enabled Boolean,
PRIMARY KEY (chain_id)
) WITHOUT ROWID;