[ARVADOS] updated: 1.3.0-607-gc5c82ef67

Git user git at public.curoverse.com
Thu Mar 28 14:45:35 UTC 2019


Summary of changes:
 services/api/db/migrate/20190322174136_add_file_info_to_collection.rb | 2 +-
 services/api/db/structure.sql                                         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

       via  c5c82ef67b9dc3cb3619e2bef3a86b9b0f0912e8 (commit)
      from  6709876170511ade8e24fe60bf77da24bc4a03d4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c5c82ef67b9dc3cb3619e2bef3a86b9b0f0912e8
Author: Eric Biagiotti <ebiagiotti at veritasgenetics.com>
Date:   Thu Mar 28 10:44:42 2019 -0400

    14484: Fixes performance test by changing file_size_total to bigint
    
    Arvados-DCO-1.1-Signed-off-by: Eric Biagiotti <ebiagiotti at veritasgenetics.com>

diff --git a/services/api/db/migrate/20190322174136_add_file_info_to_collection.rb b/services/api/db/migrate/20190322174136_add_file_info_to_collection.rb
index 3e87b0c8b..47f539826 100755
--- a/services/api/db/migrate/20190322174136_add_file_info_to_collection.rb
+++ b/services/api/db/migrate/20190322174136_add_file_info_to_collection.rb
@@ -28,7 +28,7 @@ class AddFileInfoToCollection < ActiveRecord::Migration
 
   def up
     add_column :collections, :file_count, :integer, default: 0, null: false
-    add_column :collections, :file_size_total, :integer, default: 0, null: false
+    add_column :collections, :file_size_total, :integer, limit: 8, default: 0, null: false
 
     distinct_pdh_count = ActiveRecord::Base.connection.exec_query(
       "SELECT DISTINCT portable_data_hash FROM collections"
diff --git a/services/api/db/structure.sql b/services/api/db/structure.sql
index 1eefc1300..4520e1bc0 100644
--- a/services/api/db/structure.sql
+++ b/services/api/db/structure.sql
@@ -177,7 +177,7 @@ CREATE TABLE public.collections (
     version integer DEFAULT 1 NOT NULL,
     preserve_version boolean DEFAULT false,
     file_count integer DEFAULT 0 NOT NULL,
-    file_size_total integer DEFAULT 0 NOT NULL
+    file_size_total bigint DEFAULT 0 NOT NULL
 );
 
 

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list