2020-05-24 23:13:21 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-04-17 20:07:23 +05:30
|
|
|
# Placeholder class for model that is implemented in EE
|
2020-05-24 23:13:21 +05:30
|
|
|
class Iteration < ApplicationRecord
|
2022-11-25 23:54:43 +05:30
|
|
|
include IgnorableColumns
|
|
|
|
|
|
|
|
# TODO https://gitlab.com/gitlab-org/gitlab/-/issues/372125
|
|
|
|
# TODO https://gitlab.com/gitlab-org/gitlab/-/issues/372126
|
|
|
|
ignore_column :project_id, remove_with: '15.6', remove_after: '2022-09-17'
|
|
|
|
|
2020-05-24 23:13:21 +05:30
|
|
|
self.table_name = 'sprints'
|
|
|
|
|
2021-04-17 20:07:23 +05:30
|
|
|
def self.reference_prefix
|
|
|
|
'*iteration:'
|
2020-06-23 00:09:42 +05:30
|
|
|
end
|
|
|
|
|
2021-04-17 20:07:23 +05:30
|
|
|
def self.reference_pattern
|
|
|
|
nil
|
2020-10-24 23:57:45 +05:30
|
|
|
end
|
2020-05-24 23:13:21 +05:30
|
|
|
end
|
2020-06-23 00:09:42 +05:30
|
|
|
|
2021-06-08 01:23:25 +05:30
|
|
|
Iteration.prepend_mod_with('Iteration')
|