The time-independent Shrödinger equation (TISE) is
$$\dfrac{-\hbar^2}{2m} \nabla^2 \psi + V \psi = E \psi,$$
where $m$ is the mass of the particle.
I just had a thought: If $m$ is the particle's mass, then the TISE is invalid for photons, since they're massless! But I know that the Shrödinger equation is used to model photons. So how can this be?