mirror of
https://github.com/oxen-io/oxen-storage-server.git
synced 2023-12-13 21:00:26 +01:00
Redesigns the database to be a more appropriate, less duplicative design using "owners" and "messages" with a foreign key between them. Rewrites all the database code using SQLiteCpp which substantially reduces the amount of boilerplate, duplicate code for query handling. Makes the statement handlers thread_local for better thread safety; this also allows the actual query to be where it is executed, rather than having all the prepared queries in one place nowhere close to where they are actually used. |
||
---|---|---|
.. | ||
Database.hpp |