status-go/appdatabase/migrations/sql/1647880168_add_torrent_conf...

9 lines
211 B
SQL

CREATE TABLE torrent_config (
enabled BOOLEAN DEFAULT false,
port UNSIGNED INT,
data_dir VARCHAR NOT NULL,
torrent_dir VARCHAR NOT NULL,
synthetic_id VARCHAR DEFAULT 'id' PRIMARY KEY
) WITHOUT ROWID;