-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implement Sqlite backends for Contacts service and Wallet peer db #1071
Conversation
36d11f8
to
f02a5a0
Compare
This PR adds a Sqlite backend for the Contacts Service and the Peer database for the wallet It also update the respective integration tests to test using both the sqlite and memory db’s
f02a5a0
to
4accd2a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one nit
is_read INTEGER NOT NULL DEFAULT 0, | ||
FOREIGN KEY(dest_pub_key) REFERENCES contacts(pub_key) | ||
); | ||
-- CREATE TABLE sent_messages ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't you just nuke these rather than comment them out, since you delete the diesel table definitions in schema.rs
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
schema.rs is generated from these migrations and these will come back in if we do text messaging so I thought best to leave them here for the future.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
) Merge pull request #1071 This PR adds a Sqlite backend for the Contacts Service and the Peer database for the wallet It also update the respective integration tests to test using both the sqlite and memory db’s
) Merge pull request #1071 This PR adds a Sqlite backend for the Contacts Service and the Peer database for the wallet It also update the respective integration tests to test using both the sqlite and memory db’s
Description
This PR adds a Sqlite backend for the Contacts Service and the Peer database for the wallet
It also update the respective integration tests to test using both the sqlite and memory db’s
Motivation and Context
Closes #938
How Has This Been Tested?
test provided
Types of changes
Checklist:
development
branchcargo-fmt --all
before pushing