status-go/appdatabase/migrations/sql/1622184614_add_default_sync_period.up.sql
Andrea Maria Piana 3a61c3bae9 Allow setting mailserver sync value
This commit adds a setting for mailserver, that allows the client to
specify the syncing period.
Also fixes a minor issue with deletion of public chats.
2021-06-01 12:59:52 +02:00

4 lines
125 B
SQL

ALTER TABLE settings ADD COLUMN default_sync_period INTEGER DEFAULT 86400;
UPDATE settings SET default_sync_period = 86400;