Merge branch '8784-dir-listings'
[arvados.git] / services / api / app / models / workflow.rb
index f78691492787734c362e9482aff7132238e50ff1..94890c6632e3b9a8ea6eadf914edd9552ec618e5 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 class Workflow < ArvadosModel
   include HasUuid
   include KindAndEtag
@@ -39,4 +43,12 @@ class Workflow < ArvadosModel
       end
     end
   end
+
+  def self.full_text_searchable_columns
+    super - ["definition"]
+  end
+
+  def self.limit_index_columns_read
+    ["definition"]
+  end
 end