Validate presence of issue in design version
DesignManagement::Version must always belong to an issue. We do not enforce this invariant.
We should:
- enforce this in the model with
validates :issue, presence: true - enforce this in the database with a
NOT NULLconstraint onversions.issue_id