Skip to content

Commit

Permalink
Merge pull request #382 from NBISweden/develop
Browse files Browse the repository at this point in the history
Include filesizes in the database.
  • Loading branch information
kusalananda authored Nov 22, 2017
2 parents d6d2081 + 489549b commit 90fd4b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions sql/patch-master-db.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,10 @@ ALTER TABLE dataset MODIFY COLUMN

ALTER TABLE dataset_file ADD COLUMN
bytes BIGINT NOT NULL;

-- Add file sizes to the files we already have

UPDATE dataset_file SET bytes=4957818880 WHERE name='swegen_20161223.tar';
UPDATE dataset_file SET bytes=4960460800 WHERE name='swegen_20170823.tar';
UPDATE dataset_file SET bytes=26154119 WHERE name='swegen_frequencies_SVDB_hg19_20171025.tar.gz';
UPDATE dataset_file SET bytes=4960460800 WHERE name='swegen_frequencies_hg19_20171025.tar';

0 comments on commit 90fd4b1

Please sign in to comment.