The $^{2}\mathrm{H}(\ensuremath{\alpha},\ensuremath{\gamma})^{6}\mathrm{Li}$ radiative capture responsible for the $^{6}\mathrm{Li}$ production during the big-bang nucleosynthesis is comprehensively studied within a microscopic approach. The approach implements microscopically clustering aspects of nuclear structure and dynamics in an oscillator-basis representation. The total astrophysical $S$ factor of the reaction is calculated. All allowed partial electric quadrupole and magnetic dipole transitions between the $^{4}\mathrm{He}+^{2}\mathrm{H}$ continuum and the $^{6}\mathrm{Li}$ ground state are considered in the standard long-wavelength limit. Isospin-forbidden electric dipole transitions are taken into account in two ways. The first method is based on the expression for the electric dipole operator at the leading order of the long-wavelength approximation with the usage of the exact-mass prescription. In the second method, this operator is written at the first order beyond the leading-order approximation. Contributions of the transitions are compared to each other. The $^{4}\mathrm{He}+^{2}\mathrm{H}$ nuclear phase shifts for the initial channels of the considered reaction are computed. Important properties of the $^{6}\mathrm{Li}$ nucleus, such as the breakup threshold, the asymptotic normalization constants, and the electric quadrupole moment are also described. Deformation effects and their manifestations in $^{6}\mathrm{Li}$ are discussed. The obtained results are shown to be in good agreement with a large set of experimental data.