[ARVADOS] updated: 1.1.3-86-g56c1d14
Git user
git at public.curoverse.com
Fri Feb 23 13:10:23 EST 2018
Summary of changes:
.../db/migrate/20180216203422_add_storage_classes_to_collections.rb | 4 ++--
services/api/db/structure.sql | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
via 56c1d14687b53bdb6e3ca1a9d3ff50638ff9af5b (commit)
from b0d7f37097e8b5c56bfbfa79a134a8074789ebb4 (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 56c1d14687b53bdb6e3ca1a9d3ff50638ff9af5b
Author: Lucas Di Pentima <ldipentima at veritasgenetics.com>
Date: Fri Feb 23 15:09:30 2018 -0300
12707: Remove the unnecessary default values from migration.
Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima at veritasgenetics.com>
diff --git a/services/api/db/migrate/20180216203422_add_storage_classes_to_collections.rb b/services/api/db/migrate/20180216203422_add_storage_classes_to_collections.rb
index 112c2ba..e1bda82 100644
--- a/services/api/db/migrate/20180216203422_add_storage_classes_to_collections.rb
+++ b/services/api/db/migrate/20180216203422_add_storage_classes_to_collections.rb
@@ -4,8 +4,8 @@
class AddStorageClassesToCollections < ActiveRecord::Migration
def up
- add_column :collections, :storage_classes_desired, :jsonb, :default => ["default"]
- add_column :collections, :storage_classes_confirmed, :jsonb, :default => []
+ add_column :collections, :storage_classes_desired, :jsonb
+ add_column :collections, :storage_classes_confirmed, :jsonb
add_column :collections, :storage_classes_confirmed_at, :datetime, :default => nil, :null => true
end
diff --git a/services/api/db/structure.sql b/services/api/db/structure.sql
index 357e95c..5b267e7 100644
--- a/services/api/db/structure.sql
+++ b/services/api/db/structure.sql
@@ -171,8 +171,8 @@ CREATE TABLE collections (
file_names character varying(8192),
trash_at timestamp without time zone,
is_trashed boolean DEFAULT false NOT NULL,
- storage_classes_desired jsonb DEFAULT '["default"]'::jsonb,
- storage_classes_confirmed jsonb DEFAULT '[]'::jsonb,
+ storage_classes_desired jsonb,
+ storage_classes_confirmed jsonb,
storage_classes_confirmed_at timestamp without time zone
);
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list