impress/db/migrate/20110210222230_guest_outfits.rb

9 lines
209 B
Ruby

class GuestOutfits < ActiveRecord::Migration
def self.up
change_column :outfits, :name, :string, :null => true
end
def self.down
change_column :outfits, :name, :string, :null => false
end
end