QAPlatform: Fixed the issue where the database was dropped if the models are changed.