Fix sqllite and db
Merge pull request #14 from thejsj/master

Fix sqllite and db