Change database to avoid sqlite3 dependency.