Make reference columns not nullable