remove App only if we have a reference in DB
ensure we migrate only existing applications