Project

General

Profile

Download (526 Bytes) Statistics
| Branch: | Tag: | Revision:

foreman_docker / db / migrate / 20141009011026_add_attributes_to_container.rb @ 588fbfb3

1
class AddAttributesToContainer < ActiveRecord::Migration
2
  def change
3
    add_column :containers, :entrypoint, :string
4
    add_column :containers, :cpu_set, :integer
5
    add_column :containers, :cpu_shares, :float
6
    add_column :containers, :memory, :integer
7
    add_column :containers, :tty, :boolean
8
    add_column :containers, :attach_stdin,  :boolean, :default => true
9
    add_column :containers, :attach_stdout, :boolean, :default => true
10
    add_column :containers, :attach_stderr, :boolean, :default => true
11
  end
12
end