fixing database
changing db types