blob: 1203c6c1fc3d04e853edcd5b29a7e2eec882fce1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# frozen_string_literal: true
# Placeholder class for model that is implemented in EE
# It reserves '&' as a reference prefix, but the table does not exists in CE
class Epic < ApplicationRecord
include IgnorableColumns
ignore_column :milestone_id, remove_after: '2020-02-01', remove_with: '12.8'
def self.link_reference_pattern
nil
end
def self.reference_prefix
'&'
end
def self.reference_prefix_escaped
'&'
end
end
Epic.prepend_if_ee('EE::Epic')
|