debian-mirror-gitlab/app/models/analytics/cycle_analytics/project_stage.rb
2019-12-21 20:55:43 +05:30

15 lines
335 B
Ruby

# frozen_string_literal: true
module Analytics
module CycleAnalytics
class ProjectStage < ApplicationRecord
include Analytics::CycleAnalytics::Stage
validates :project, presence: true
belongs_to :project
alias_attribute :parent, :project
alias_attribute :parent_id, :project_id
end
end
end