2018-11-18 11:00:15 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
# Placeholder class for model that is implemented in EE
|
|
|
|
# It reserves '&' as a reference prefix, but the table does not exists in CE
|
2019-07-07 11:18:12 +05:30
|
|
|
class Epic < ApplicationRecord
|
2020-01-01 13:55:28 +05:30
|
|
|
include IgnorableColumns
|
|
|
|
|
|
|
|
ignore_column :milestone_id, remove_after: '2019-12-15', remove_with: '12.7'
|
|
|
|
|
2018-12-05 23:21:45 +05:30
|
|
|
def self.link_reference_pattern
|
|
|
|
nil
|
|
|
|
end
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
def self.reference_prefix
|
|
|
|
'&'
|
|
|
|
end
|
|
|
|
|
|
|
|
def self.reference_prefix_escaped
|
|
|
|
'&'
|
|
|
|
end
|
|
|
|
end
|
2019-12-04 20:38:33 +05:30
|
|
|
|
|
|
|
Epic.prepend_if_ee('EE::Epic')
|