mirror of
https://github.com/status-im/status-go.git
synced 2025-02-13 15:27:21 +00:00
This commits adds support for postgres database. Currently two fields are stored: the bloom filter and the topic. Only the bloom filter is actually used to query, but potentially we will use also the topic in the future, so easier to separate it now in order to avoid a migration.
6 lines
265 B
SQL
6 lines
265 B
SQL
DELETE FROM keys;
|
|
ALTER TABLE keys ADD COLUMN seq_num INTEGER NOT NULL DEFAULT 0;
|
|
ALTER TABLE keys ADD COLUMN session_id BLOB;
|
|
ALTER TABLE sessions ADD COLUMN keys_count INTEGER NOT NULL DEFAULT 0;
|
|
ALTER TABLE bundles ADD COLUMN version INTEGER NOT NULL DEFAULT 0;
|