summaryrefslogtreecommitdiff
path: root/app/models/milestone.rb
diff options
context:
space:
mode:
authorEugenia Grieff <egrieff@gitlab.com>2019-09-04 16:19:31 +0000
committerMichael Kozono <mkozono@gmail.com>2019-09-04 16:19:31 +0000
commit7a3234c68ffa84893333f00021b6dac6453f20cd (patch)
tree5d1c19b0ccdf65aa26a225a71f9027e31a50f741 /app/models/milestone.rb
parentea4e9ada64091e186969d9656c74c7923652fcad (diff)
downloadgitlab-ce-7a3234c68ffa84893333f00021b6dac6453f20cd.tar.gz
Add service to transfer group milestones
- Add new service that transfers milestones from a group to a project - Include new service in Projects transfer service - Include FromUnion module in Milestone model to use in transfer service - Add specs for new milestones service - Add specs for transferring milestones in project transfer service
Diffstat (limited to 'app/models/milestone.rb')
-rw-r--r--app/models/milestone.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/milestone.rb b/app/models/milestone.rb
index cb87b46a31d..915978d37b8 100644
--- a/app/models/milestone.rb
+++ b/app/models/milestone.rb
@@ -16,6 +16,7 @@ class Milestone < ApplicationRecord
include Referable
include StripAttribute
include Milestoneish
+ include FromUnion
include Gitlab::SQL::Pattern
cache_markdown_field :title, pipeline: :single_line