parent
54bb513255
commit
c579ede792
@ -0,0 +1,10 @@
|
|||||||
|
class DepartmentDefaultHostCount < ActiveRecord::Migration
|
||||||
|
def up
|
||||||
|
change_column :departments, :host_count, :integer, :default => 5
|
||||||
|
|
||||||
|
Department.update_all(:host_count => 5)
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in new issue