1
CREATE TABLE IF NOT EXISTS prefs ( key TEXT PRIMARY KEY, val TEXT );
2
CREATE INDEX IF NOT EXISTS key_idx ON prefs (key);