Let $X=\mathbb{P}^1_{\mathbb{Z}}$ and $Y\subset X$ be a local complete intersection of codimension two with Ideal sheaf $I_Y$.
(I'm mostly interested in the case where $Y$ is a single point $x$ lying over a prime $p$, i.e. $f(x)=p$, where $f: X \rightarrow Spec(\mathbb{Z})$, or a finite set of points, each lying over a different prime).
My question is: how does the restriction of $I_Y$ to a special fiber $\mathbb{P}^1_{\mathbb{F}_q}$ look like (for some prime q)? That is: can we describe the sheaf $I_{Y{|\mathbb{P}^1_{\mathbb{F}_q}}}=j^{*}I_Y$, where $j: \mathbb{P}^1_{\mathbb{F}_q} \rightarrow \mathbb{P}^1_{\mathbb{Z}}$?
If $Y$ is a point $x$ lying over $p$, then we have: $0\rightarrow I_Y \rightarrow \mathcal{O}_X \rightarrow k(x) \rightarrow 0$, let us assume $k(x)=\mathbb{F}_p$.
We have to look at $0\rightarrow \mathcal{T}or^1_\mathbb{Z}(k(x),\mathbb{F}_q)\rightarrow I_Y\otimes_{\mathbb{Z}}\mathbb{F}_q \rightarrow \mathcal{O}_X\otimes_{\mathbb{Z}}\mathbb{F}_q \rightarrow k(x)\otimes_{\mathbb{Z}}\mathbb{F}_q \rightarrow 0$. Now if $p\neq q$ this should give $I_Y\otimes_{\mathbb{Z}}\mathbb{F}_q \cong \mathcal{O}_X\otimes_{\mathbb{Z}}\mathbb{F}_q=\mathcal{O}_{\mathbb{P}^1_{\mathbb{F}_q}}$.
But i'm not able to see what happens for $q=p$. Do we possibly get the ideal sheaf of $x$ in $\mathbb{P}^1_{\mathbb{F}_p}$? Or something more complicated?
Background: Assume $E$ is a locally free sheaf of rank $2$ on $X$ sitting in an exact sequence $0\rightarrow \mathcal{O}_X(d)\rightarrow E \rightarrow I_Y \rightarrow 0$. Now i'm trying to understand the splitting types of $E$ on the special fibers $\mathbb{P}^1_{\mathbb{F}_p}$.
Or is it easier to compute $0\rightarrow \mathcal{T}or^1_\mathbb{Z}(I_Y,\mathbb{F}_q)\rightarrow \mathcal{O}_X(d)\otimes_{\mathbb{Z}}\mathbb{F}_q \rightarrow E\otimes_{\mathbb{Z}}\mathbb{F}_q \rightarrow I_Y\otimes_{\mathbb{Z}}\mathbb{F}_q \rightarrow 0$?
Edit: Using Will's answer we see that we can write $I_Y\otimes \mathbb{F}_q\rightarrow O_{\mathbb{P}^1_{\mathbb{F}_q}}(-1)\rightarrow 0$. This shows that we have: $E\otimes \mathbb{F}_q \rightarrow O_{\mathbb{P}^1_{\mathbb{F}_q}}(-1)\rightarrow 0$. Using that the degree is constant on $Spec(\mathbb{Z})$ we can compute that we have in fact $0\rightarrow O_{\mathbb{P}^1_{\mathbb{F}_q}}(d+1)\rightarrow E\otimes \mathbb{F}_q \rightarrow O_{\mathbb{P}^1_{\mathbb{F}_q}}(-1)\rightarrow 0$. Now we just have to compute some $Ext$ to see for which $d$ this already splits.