Skip to content
Snippets Groups Projects

Use a separate table for storing push events

Merged Yorick Peterse requested to merge split-events-into-push-events into master
Compare and Show latest version
7 files
+ 22
26
Compare changes
  • Side-by-side
  • Inline
Files
7
+ 1
5
@@ -98,11 +98,7 @@ def subclass_from_attributes(attrs)
action = attrs.with_indifferent_access[inheritance_column].to_i
if action == PUSHED
PushEvent
else
nil
end
PushEvent if action == PUSHED
end
# Update Gitlab::ContributionsCalendar#activity_dates if this changes
Loading