gitlab-org--gitlab-foss/app/models/iteration.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
463 B
Ruby
Raw Normal View History

# frozen_string_literal: true
# Placeholder class for model that is implemented in EE
class Iteration < ApplicationRecord
include IgnorableColumns
# TODO https://gitlab.com/gitlab-org/gitlab/-/issues/372126
ignore_column :project_id, remove_with: '15.7', remove_after: '2022-11-18'
self.table_name = 'sprints'
def self.reference_prefix
'*iteration:'
end
def self.reference_pattern
nil
end
end
Iteration.prepend_mod_with('Iteration')