Local database fix to use sqlite instead of mysql locally