Generic triviality of a line bundle over a valuation ring
Let $O$ be a valuation domain of Krull dimension at most one whose fraction field $K$ is algebraically closed. Let $f:X\to\operatorname{Spec}O$ be smooth, quasicompact and geometrically integral, and let $$X_K=X\times_{\operatorname{Spec}O}\operatorname{Spec}K,\qquad j:X_K\to X.$$ For every line bundle $M$ on $X$, $$j^*M\simeq\mathcal O_{X_K}\quad\Longrightarrow\quad M\simeq\mathcal O_X.$$
This extends generic-fibre triviality in the construction of symmetric polarization bundles.