`on-delete="SET NULL"` should be added.