Fixed database from getting dropped