diff options
Diffstat (limited to 'app/models/snippet.rb')
-rw-r--r-- | app/models/snippet.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/snippet.rb b/app/models/snippet.rb index a24428dee50..9e7501b7ce6 100644 --- a/app/models/snippet.rb +++ b/app/models/snippet.rb @@ -17,6 +17,8 @@ class Snippet < ApplicationRecord include HasRepository extend ::Gitlab::Utils::Override + MAX_FILE_COUNT = 1 + ignore_column :repository_storage, remove_with: '12.10', remove_after: '2020-03-22' cache_markdown_field :title, pipeline: :single_line |