Revert "Removed remaining SQLite dependency."

This reverts commit 8aa088b39c33e3d4a483323f59befc6614a3b8a1.