Skip to content

Add author column to design versions

What does this MR do?

This adds an author column to DesignManagement::Version, which will be used in EE to improve design version handling and add richer interaction.

The primary reasoning for this is that we want to record system notes for new versions, indicating what designs were changed, and who changed them. This information is all available on versions, except for the commit author. This MR adds a version author we can use so that we don't have to pass around the version author to services, etc. Clearly this information is useful and belongs on the version, and other uses can be easily imagined (e.g. notify all users who have edited a file when you replace it, get a list of all the users who uploaded files).

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

This adds another bigint column to the database.

As a database migration-only change, no testing is required.

/label database

see: https://gitlab.com/gitlab-org/gitlab-ee/issues/13362

Edited by Alex Kalderimis

Merge request reports