status-go/appdatabase/migrations/sql/1660134070_add_wakuv2_store.up.sql
Richard Ramos ad326fa290
feat: wakuv2 store (#2780)
Allows runnning a store node depending on node config settings.
2022-08-19 12:34:07 -04:00

6 lines
269 B
SQL

ALTER TABLE wakuv2_config ADD COLUMN enable_store BOOLEAN DEFAULT false;
ALTER TABLE wakuv2_config ADD COLUMN store_capacity INT;
ALTER TABLE wakuv2_config ADD COLUMN store_seconds INT;
UPDATE wakuv2_config SET enable_store = 0, store_capacity = 0, store_seconds = 0;