status-go/protocol/migrations/sqlite/1676998418_fix_activity_center_migration.up.sql
Andrea Maria Piana 11db9f2119
Add test for everyone tag & fix migration order
A migration was added out-of-order, which meant that in clients who
had already run the migration after, it would be skip.
This commit re-adds the migration so it's run, tested against an empty
account and one that had already migrated.
2023-02-24 10:18:26 +00:00

7 lines
178 B
SQL

CREATE TABLE IF NOT EXISTS activity_center_states (
has_seen BOOLEAN
);
INSERT INTO activity_center_states SELECT 1 WHERE NOT EXISTS(SELECT 1 FROM activity_center_states);