Extract discussions data from notes table into its own
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Currently, discussions are built in the runtime from notes of the discussion: https://gitlab.com/gitlab-org/gitlab/-/blob/master/app/models/discussion.rb#L41. Also, some columns in the notes
table contain the data related to the whole discussion and this data is replicated across all the notes of the discussions. For example, line_code
, position
, original_position
, change_position
.
If we could move the discussions data into its own table, we would duplicate this data. That would help us to solve the following problem: #213854 (closed)
Related issues/comments:
Edited by 🤖 GitLab Bot 🤖