mirror of
https://github.com/status-im/status-go.git
synced 2025-01-09 14:16:21 +00:00
024f30f0b9
Move settings table schema from a key-value store to a one row table with many columns. We now save the first row with initial data in saveAccountAndLogin and follow up saveSetting calls are only saving one setting at a time. Co-authored-by: Adam Babik <a.babik@designfortress.com>
7 lines
118 B
SQL
7 lines
118 B
SQL
DROP TABLE settings;
|
|
CREATE TABLE IF NOT EXISTS settings (
|
|
type VARCHAR PRIMARY KEY,
|
|
value BLOB
|
|
) WITHOUT ROWID;
|
|
|