diff options
author | Stan Hu <stanhu@gmail.com> | 2019-06-23 15:54:04 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-06-23 17:38:52 -0700 |
commit | 951a3bab34bbbb4c02a0da0a363588111b94f212 (patch) | |
tree | a19531536f4d2e26eca54dbd546933fb7a2a30c5 | |
parent | f89a33c9d13db824bb4f4618512d82b6c4e6515a (diff) | |
download | gitlab-ce-951a3bab34bbbb4c02a0da0a363588111b94f212.tar.gz |
Re-add ignore_column for import columns
This `ignore_column` was present for a while but recently removed, but
to ensure we don't get error 500s let's keep it for a while.
-rw-r--r-- | app/models/project.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/models/project.rb b/app/models/project.rb index 7851f37116c..351d08eaf63 100644 --- a/app/models/project.rb +++ b/app/models/project.rb @@ -55,6 +55,8 @@ class Project < ApplicationRecord VALID_MIRROR_PORTS = [22, 80, 443].freeze VALID_MIRROR_PROTOCOLS = %w(http https ssh git).freeze + ignore_column :import_status, :import_jid, :import_error + cache_markdown_field :description, pipeline: :description delegate :feature_available?, :builds_enabled?, :wiki_enabled?, |