Skip to content

Capture author and created_at data for Version

Luke Duncalfe requested to merge 13426-backfill-version-data into master

What does this MR do?

!17316 (merged) introduced new user_id and created_at columns for Versions and !18506 (merged) renamed the user_id column to author_id.

This MR introduces the setting of author_id when new versions are created.

It also contains a post-migration to backfill author_id and created_at data for Versions by sourcing from Commits. See !17322 (comment 238723580) for more information about this migration.

This replaces the previous method of sourcing Version#author data through a request to Gitaly with supplying the data through PostgreSQL.

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Edited by 🤖 GitLab Bot 🤖

Merge request reports