null:false constraint added to user_id