Let $k$ be a field, $A=k[t,s]$, and $C=A[z]/(tz-s)$. How can I prove, using the ideals $tA$ and $sA$, that $C$ is not flat over $A$? (Liu, Algebraic Geometry and Arithmetic Curves, Exercise 2.6(c).)
I know that if $A$ is a Dedekind domain then $A$-module is flat if and only if it is not torsion-free over $A$. But Dedekind domains are new structures for me so I'm not sure if $k[t,s]$ is a Dedekind domain. Or do I have to show that not both of $tA$ and $sA$ can't be maximal or prime over $A_{tA}$ or $A_{sA}$?