Using sqlite3 instead of postgresql