fix syntax error in local_settings and remove sqlite3 db