debian-mirror-gitlab/app/models/iteration.rb

19 lines
323 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
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')