HomePhabricator
Diffusion Comm d3139aed0de5

[SQLite] recreate table for Inbound P2P messages

Description

[SQLite] recreate table for Inbound P2P messages

Summary:
ENG-6982.

  1. Rename the table to reflect to existing naming.
  2. Add a column with userID; it turns out it is needed for some messages.

I am dropping the table because right now it should be empty for users.

Depends on D13046

Test Plan:

  1. Migration succeeded.
  2. Creating DB from scratch works.
  3. Tests

Reviewers: tomek, marcin

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D13047

Details

Provenance
kamilAuthored on Aug 12 2024, 6:43 AM
Reviewer
tomek
Differential Revision
D13047: [SQLite] recreate table for Inbound P2P messages
Parents
rCOMM575677018ac0: [lib] reset session and resend message when device is unable to decrypt messages
Branches
Unknown
Tags
Unknown