Revert "Revert "sqlite""

This reverts commit 6d115867e3c1dfc481ffb3e16127ca6edb05d75b.