oxen-storage-server/storage
Jason Rhinelander 314894d4b1 Database redesign, refactor & migration
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.
2021-06-16 19:37:33 -03:00
..
include Database redesign, refactor & migration 2021-06-16 19:37:33 -03:00
src Database redesign, refactor & migration 2021-06-16 19:37:33 -03:00
CMakeLists.txt Add SQLiteCpp 2021-06-16 18:59:17 -03:00