2021-04-15 02:09:30 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# Placeholder class for model that is implemented in EE
|
|
|
|
class Iteration < ApplicationRecord
|
2022-09-30 05:09:43 -04:00
|
|
|
include IgnorableColumns
|
|
|
|
|
|
|
|
# TODO https://gitlab.com/gitlab-org/gitlab/-/issues/372126
|
2022-10-28 08:11:31 -04:00
|
|
|
ignore_column :project_id, remove_with: '15.7', remove_after: '2022-11-18'
|
2022-09-30 05:09:43 -04:00
|
|
|
|
2021-04-15 02:09:30 -04:00
|
|
|
self.table_name = 'sprints'
|
|
|
|
|
|
|
|
def self.reference_prefix
|
|
|
|
'*iteration:'
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.reference_pattern
|
|
|
|
nil
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
2021-05-11 17:10:21 -04:00
|
|
|
Iteration.prepend_mod_with('Iteration')
|