An integral Gram factorization after scaling
Let $Q\in M_n(\mathbb Z)$ be positive definite when viewed as a real matrix. There exist integers $N\ge1$, $m\ge0$, $d\ne0$, and matrices $C\in M_{m,n}(\mathbb Z)$, $B\in M_{n,m}(\mathbb Z)$ such that $$NQ=C^{\mathsf T}C,\qquad BC=dI_n.$$