Skip to content

Commit 8eaedde

Browse files
committed
accounts: add SQL store implementation
In this commit, we add the SQLStore type which implements the accounts.Store interface. To demonstrate that it works as expected, we also plug this implementation into all the account unit tests to show that they pass against the sqlite and postgres backends. One can use `make unit pkg=accounts tags=test_db_postgres` or `make unit pkg=accounts tags=test_db_sqlite` to test locally. Note that 2 small timestamp related changes are made to the unit tests. This is to compensate for timestamp precision in postgres.
1 parent 7cc11a4 commit 8eaedde

File tree

5 files changed

+752
-3
lines changed

5 files changed

+752
-3
lines changed

0 commit comments

Comments
 (0)