mirror of
https://github.com/status-im/status-go.git
synced 2025-01-10 22:56:40 +00:00
7032fc9dcc
This introduces logic needed to: - Create WakuMessageArchives and and indices from store waku messages - History archive torrent data to disk and create .torrent file from that - Seed and unseed history archive torrents as necessary - Starting/stopping the torrent client - Enabling/disabling community history support for individual components and starting/stopping the routine intervals accordingly This does not yet handle magnet links (#2568) Closes #2567
7 lines
208 B
SQL
7 lines
208 B
SQL
CREATE TABLE IF NOT EXISTS communities_archive_info (
|
|
community_id TEXT PRIMARY KEY ON CONFLICT REPLACE,
|
|
magnetlink_clock INT NOT NULL DEFAULT 0,
|
|
last_message_archive_end_date INT NOT NULL DEFAULT 0
|
|
)
|
|
|