projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'master' into 10194-cwl-version-skew
[arvados.git]
/
services
/
api
/
db
/
migrate
/
20161019171346_add_use_existing_to_container_requests.rb
diff --git a/services/api/db/migrate/20161019171346_add_use_existing_to_container_requests.rb
b/services/api/db/migrate/20161019171346_add_use_existing_to_container_requests.rb
new file mode 100644
(file)
index 0000000..
100b83d
--- /dev/null
+++ b/
services/api/db/migrate/20161019171346_add_use_existing_to_container_requests.rb
@@ -0,0
+1,9
@@
+class AddUseExistingToContainerRequests < ActiveRecord::Migration
+ def up
+ add_column :container_requests, :use_existing, :boolean, :default => true
+ end
+
+ def down
+ remove_column :container_requests, :use_existing
+ end
+end