18874: Merge commit '6f8dcb2b13f3058db656908fb26b09e23b527f08' into 18874-merge-wb2
[arvados.git] / services / api / db / migrate / 20180904110712_add_runtime_status_to_containers.rb
1 # Copyright (C) The Arvados Authors. All rights reserved.
2 #
3 # SPDX-License-Identifier: AGPL-3.0
4
5 class AddRuntimeStatusToContainers < ActiveRecord::Migration[4.2]
6   def change
7     add_column :containers, :runtime_status, :jsonb, default: {}
8     add_index :containers, :runtime_status, using: :gin
9   end
10 end