foreman/db/migrate/20100601221000_update_os_minor.rb @ 8a65dff7
51252890 | Frank Sweetser | class UpdateOsMinor < ActiveRecord::Migration
|
|
def self.up
|
|||
Operatingsystem.update_all("minor = ''", {:minor => nil})
|
|||
change_column :operatingsystems, :minor, :string, :limit => 16, :default => "", :null => false
|
|||
end
|
|||
def self.down
|
|||
change_column :operatingsystems, :minor, :string, :limit => 16
|
|||
end
|
|||
end
|