Add some api for handling SQLite3 migrations
Review Request #1906 — Created Oct. 7, 2022 and submitted — Latest diff uploaded
Also port the SqliteHistoryAdapter to the new api.
Ran the unit tests under valgrind and checked out code coverage which is really just missing error handling I can't test.