[lib] assert function and setting client db with sqlite data
Summary:
Populates the client db with message store local sqlite data and includes an assert function to verify the result of message store local operations
Depends on D12370
Test Plan:
Tested on both native and web by
- launching app on prior migration version
- Failing to send several messages by disconnecting the keyserver
- Restarting app to confirm assertion between redux persist and sqlite data failure
- Running migration
- Verifying assertion now passes
Reviewers: tomek, kamil, ginsu
Reviewed By: tomek
Subscribers: ginsu, ashoat
Differential Revision: https://phab.comm.dev/D12384