Work on SQLite

Signed-off-by: Matthias Stevens <matthias.stevens@gmail.com>