[eluser]OverZealous[/eluser]
For future reference, you shouldn't have a student_id column on Users, at all. You would only have a student_id column if a User had a $has_one relationship to a student object (meaning, there was one student to many users of some type).
You will almost certainly have trouble with deletions and possibly even updates if you do not remove that column!