Sha256: c9b708f6999662b55c133c95cb414f7736367ce47ad698de412ded314ab24563

Contents?: true

Size: 197 Bytes

Versions: 4

Compression:

Stored size: 197 Bytes

Contents

class ChangeCpusetInContainer < ActiveRecord::Migration[4.2]
  def up
    change_column :containers, :cpu_set, :string
  end

  def down
    change_column :containers, :cpu_set, :integer
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
foreman_docker-5.0.0 db/migrate/20141028164633_change_cpuset_in_container.rb
foreman_docker-4.1.1 db/migrate/20141028164633_change_cpuset_in_container.rb
foreman_docker-4.1.0 db/migrate/20141028164633_change_cpuset_in_container.rb
foreman_docker-4.0.0 db/migrate/20141028164633_change_cpuset_in_container.rb