debian-mirror-gitlab/app/models/analytics/cycle_analytics/project_stage.rb

15 lines
289 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
module Analytics
module CycleAnalytics
class ProjectStage < ApplicationRecord
2019-12-04 20:38:33 +05:30
include Analytics::CycleAnalytics::Stage
validates :project, presence: true
2019-10-12 21:52:04 +05:30
belongs_to :project
2019-12-04 20:38:33 +05:30
alias_attribute :parent, :project
2019-10-12 21:52:04 +05:30
end
end
end