Project

General

Profile

Revision cc823b50

Added by Daniel Lobato Garcia over 8 years ago

Fixes #8140: Memory and CPU set are strings

View differences:

db/migrate/20141028164206_change_memory_in_container.rb
1
class ChangeMemoryInContainer < ActiveRecord::Migration
2
  def up
3
    change_column :containers, :memory, :string
4
  end
5

  
6
  def down
7
    change_column :containers, :memory, :integer
8
  end
9
end
db/migrate/20141028164633_change_cpuset_in_container.rb
1
class ChangeCpusetInContainer < ActiveRecord::Migration
2
  def up
3
    change_column :containers, :cpu_set, :string
4
  end
5

  
6
  def down
7
    change_column :containers, :cpu_set, :integer
8
  end
9
end

Also available in: Unified diff