15133: Move removing jobs API code+tests
[arvados.git] / services / api / app / models / link.rb
index a95feb83cdaf4cb6362ee7c7ab5a4e70cad43d49..ad7800fe679cb91936bde76f00566873cb369419 100644 (file)
@@ -9,6 +9,7 @@ class Link < ArvadosModel
 
   # Posgresql JSONB columns should NOT be declared as serialized, Rails 5
   # already know how to properly treat them.
+  attribute :properties, :jsonbHash, default: {}
 
   before_create :permission_to_attach_to_objects
   before_update :permission_to_attach_to_objects
@@ -101,5 +102,4 @@ class Link < ArvadosModel
       super
     end
   end
-
 end