Add sqlite (closes #1252)