db moved to local_settings