Bug #297 ยป 0001-Prevent-operatingsystem.minor-from-storing-NULLs.patch
db/migrate/20100601221000_update_os_minor.rb | ||
---|---|---|
class UpdateOsMinor < ActiveRecord::Migration
|
||
def self.up
|
||
change_column :operatingsystems, :minor, :string, :limit => 16, :default => "", :null => false
|
||
end
|
||
def self.down
|
||
change_column :operatingsystems, :minor, :string, :limit => 16
|
||
end
|
||
end
|