14873: Adjusts latest API Server changes to be rails5 worthy.
[arvados.git] / services / api / db / migrate / 20160926194129_add_container_count.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class AddContainerCount < ActiveRecord::Migration[4.2]
6   def up
7     add_column :container_requests, :container_count, :int, :default => 0
8   end
9
10   def down
11     remove_column :container_requests, :container_count
12   end
13 end