2018-07-25 09:30:33 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-11-01 17:35:14 +00:00
|
|
|
# Placeholder class for model that is implemented in EE
|
2020-05-13 06:08:02 +00:00
|
|
|
# It reserves '&' as a reference prefix, but the table does not exist in FOSS
|
2019-03-28 13:17:42 +00:00
|
|
|
class Epic < ApplicationRecord
|
2019-12-01 06:06:11 +00:00
|
|
|
include IgnorableColumns
|
|
|
|
|
2020-03-10 03:08:03 +00:00
|
|
|
ignore_column :health_status, remove_with: '13.0', remove_after: '2019-05-22'
|
|
|
|
|
2018-08-29 13:38:42 +00:00
|
|
|
def self.link_reference_pattern
|
|
|
|
nil
|
|
|
|
end
|
|
|
|
|
2017-12-01 09:21:05 +00:00
|
|
|
def self.reference_prefix
|
|
|
|
'&'
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.reference_prefix_escaped
|
|
|
|
'&'
|
2017-11-01 17:35:14 +00:00
|
|
|
end
|
|
|
|
end
|
2019-09-13 13:26:31 +00:00
|
|
|
|
|
|
|
Epic.prepend_if_ee('EE::Epic')
|