Project

General

Profile

Bug #297 ยป 0001-Prevent-operatingsystem.minor-from-storing-NULLs.patch

Frank Sweetser, 06/02/2010 03:38 AM

View differences:

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
    (1-1/1)