debian-mirror-gitlab/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

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/372126
2023-01-13 00:05:48 +05:30
ignore_column :project_id, remove_with: '15.7', remove_after: '2022-11-18'
2022-11-25 23:54:43 +05:30
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')