From 951a3bab34bbbb4c02a0da0a363588111b94f212 Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sun, 23 Jun 2019 15:54:04 -0700 Subject: [PATCH] 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. --- app/models/project.rb | 2 ++ 1 file changed, 2 insertions(+) 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?,