027_add_zip_code_to_order.rb from crlove at Krugle
Show 027_add_zip_code_to_order.rb syntax highlighted
class AddZipCodeToOrder < ActiveRecord::Migration
def self.up
add_column :orders, :zip_code, :string, :null => false, :limit => 6
end
def self.down
remove_column :orders, :zip_code
end
end
See more files for this project here