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