[ARVADOS] updated: 929e817fc1c91e1d9a0afcfcab93fe07304d9be5

Git user git at public.curoverse.com
Wed Oct 5 13:16:59 EDT 2016


Summary of changes:
 services/api/db/migrate/20160926194129_add_container_count.rb | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 services/api/db/migrate/20160926194129_add_container_count.rb

       via  929e817fc1c91e1d9a0afcfcab93fe07304d9be5 (commit)
      from  068b2c9dbe1e467119680cbab61c62a03ad4fafd (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 929e817fc1c91e1d9a0afcfcab93fe07304d9be5
Author: Peter Amstutz <peter.amstutz at curoverse.com>
Date:   Wed Oct 5 13:16:54 2016 -0400

    8018: Add migration script for "container_count" field.

diff --git a/services/api/db/migrate/20160926194129_add_container_count.rb b/services/api/db/migrate/20160926194129_add_container_count.rb
new file mode 100644
index 0000000..41624f1
--- /dev/null
+++ b/services/api/db/migrate/20160926194129_add_container_count.rb
@@ -0,0 +1,9 @@
+class AddContainerCount < ActiveRecord::Migration
+  def up
+    add_column :container_requests, :container_count, :int, :default => 0
+  end
+
+  def down
+    remove_column :container_requests, :container_count
+  end
+end

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list