status-go/protocol/migrations/sqlite/1702996953_add_communities_shards_table.up.sql
Mykhailo Prakhov 134137f9c5
feat: implemented a mechanism to retrieve shard information for a given community ID (#4499)
* feat: a mechanism to retrieve shard information for a given community ID
2023-12-22 13:37:37 +01:00

6 lines
208 B
SQL

CREATE TABLE IF NOT EXISTS communities_shards (
community_id BLOB NOT NULL PRIMARY KEY ON CONFLICT REPLACE,
shard_cluster INT DEFAULT NULL,
shard_index INT DEFAULT NULL,
clock INT DEFAULT 0
);